RAL Classic color

RAL 6002 Leaf green #2D572C

RAL 6002 Leaf green is shown here as #2D572C, a widely published sRGB approximation of the printed swatch. It is a dark muted green in the green family. In OKLCH it sits at lightness 0.414, chroma 0.084 and hue 143.4°. The nearest CSS named color is darkgreen (#006400), ΔE2000 9.7 away.

Relative luminance
0.0756
OKLCH L · C · h
0.414 · 0.084 · 143.4
Best text
White 8.36:1
Hue family
Green

#2D572C color codes

HEX
#2D572C
RGB
rgb(45, 87, 44)
HSL
hsl(119, 33%, 26%)
OKLCH
oklch(0.414 0.084 143.4)
OKLab
oklab(0.414 -0.067 0.050)
CIELAB (D65)
L* 33.04, a* -24.72, b* 20.48
XYZ (D65)
X 4.94, Y 7.56, Z 3.58
CMYK (naive)
cmyk(48%, 0%, 49%, 66%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #2D572C accessible?

White text on it reaches 8.36:1, passing AAA. Black text fails at 2.51:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    2.51:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +15
  • White text on it

    8.36:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −93
  • As text on black

    2.51:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −13
  • As text on white

    8.36:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +88

Nearest versions that pass 4.5:1

  • For text on white

    #2D572C 8.36:1

    It already reaches 8.36:1 on white, so no change is needed.

  • For text on black

    #548052 4.58:1

    Lightening its OKLCH lightness from 0.41 to 0.55 reaches 4.58:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #2D572C live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #2D572C

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #2D572C sits at step 800.

  1. 50#E1FFDF
    White
    1.07
    Black
    19.57
  2. 100#D1F8CE
    White
    1.16
    Black
    18.02
  3. 200#BBE5B9
    White
    1.39
    Black
    15.02
  4. 300#A0CB9D
    White
    1.82
    Black
    11.52
  5. 400#83AF80
    White
    2.49
    Black
    8.40
  6. 500#679365
    White
    3.53
    Black
    5.93
  7. 600#507B4F
    White
    4.89
    Black
    4.28
  8. 700#3B6439
    White
    6.84
    Black
    3.06
  9. 800This color#2D572C
    White
    8.36
    Black
    2.51
  10. 900#0F310F
    White
    14.31
    Black
    1.46
  11. 950#011D02
    White
    17.82
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #2D572C can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.137; #2D572C uses 61% of it. Display P3, which many recent phones and laptops show, reaches 0.170 there: 24% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.084
sRGB edge
0.137
Display P3 edge
0.170
Rec. 2020 edge
0.177
Dominant wavelength
550 nm
Excitation purity
39%
Chromaticity
x 0.3075, y 0.4699
  • This color#2D572C
  • Most vivid in sRGB#005D09
  • Most vivid in Display P3oklch(0.414 0.170 143.4)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #2d572c;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.0846 0.3696 0); }
}

Mixing

Mixing #2D572C

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#96AB96
  • OKLab50%#92A890
  • OKLCH50%#92A890

Black #000000

  • sRGB50%#172C16
  • OKLab50%#0B1C0A
  • OKLCH50%#0B1C0A

Its complement #613B66

  • sRGB50%#474949
  • OKLab50%#4B4C4C
  • OKLCH50%#055271
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #2d572c, white);
color: color-mix(in oklch, #2d572c 50%, white);

In use

#2D572C in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:18.36:1 Passes
  • Link and body-size textText, 4.5:18.36:1 Passes
  • Large headingLarge text, 3:18.36:1 Passes
  • Icons, borders and focus ringsNon-text, 3:18.36:1 Passes

Dark page

  • Button labelText, 4.5:18.36:1 Passes
  • Link and body-size textText, 4.5:12.24:1 Fails
  • Large headingLarge text, 3:12.24:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.24:1 Fails

For text on this page, the nearest shade that passes is #5B8759 4.50:1

Color vision

How #2D572C looks with color blindness

Achromatopsia changes it most, ΔE2000 21.1; tritanopia changes it least, 12.7.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #595029 ΔE2000 16.1

    Distinct

    Reads as dark muted brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #534C2F ΔE2000 15.9

    Distinct

    Reads as dark grayish brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #28554D ΔE2000 12.7

    Distinct

    Reads as dark muted teal

  • Achromatopsia

    No cone color vision; lightness only

    #4E4E4E ΔE2000 21.1

    Distinct

    Reads as dark gray

Pairing check

Checked against its complement, #613B66. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#2D572C · #613B6649.3Stays distinct
Protanopia#595029 · #36466833.3Stays distinct
Deuteranopia#534C2F · #404A6527.7Stays distinct
Tritanopia#28554D · #62404B37.7Stays distinct
Achromatopsia#4E4E4E · #4949491.7Easily confused

Harmony

Color harmonies for #2D572C

Its complement is #613B66, a dark muted magenta.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#2D572C
  • Complement#613B66

Complementary

Open in Harmony Studio
  • −30°#4C5010
  • Base#2D572C
  • +30°#005948
  • Base#2D572C
  • +120°#334A79
  • +240°#723735
  • Base#2D572C
  • +150°#4E4275
  • +210°#6E374F

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-6002: #2d572c;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-6002': '#2d572c',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-6002: oklch(0.414 0.084 143.4);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-6002": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.1765, 0.3412, 0.1725],
        "hex": "#2d572c"
      },
      "$description": "RAL 6002 Leaf green (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral6002 = Color(.sRGB, red: 0.176, green: 0.341, blue: 0.173, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral6002 = Color(0xFF2D572C)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #2D572C in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.