#2F4009#2F4009

#2F4009 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.080 H 125.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2F4009
RGBrgb(47, 64, 9)
HSLhsl(79, 75%, 14%)
HSVhsv(79, 86%, 25%)
CMYKcmyk(26.6%, 0%, 85.9%, 74.9%)
CIE-LABlab(24.61, -16.07, 29.19)
CIE-LCHlch(24.61, 33.32, 118.83°)
OKLaboklab(34.46% -0.0465 0.0647)
OKLCHoklch(34.46% 0.08 125.7)
XYZxyz(3.0550, 4.2908, 0.9256)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4009 #1A0940
analogous
#403609 #2F4009 #144009
triadic
#2F4009 #092F40 #40092F
tetradic
#2F4009 #094036 #1A0940 #400914
square
#2F4009 #094036 #1A0940 #400914
split-complementary
#2F4009 #091440 #360940
monochromatic
#141B04 #141B04 #2F4009 #567611 #7EAB18

Accessibility & contrast

On white

11.30
#2F4009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F4009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4009
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4009#FFFFFF#000000##FFFFFF
##2F40091.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B01
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#313C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f4009;
/* rgb */ color: rgb(47, 64, 9);
/* oklch */ color: oklch(34.5% 0.080 125.7);
Tailwind
colors: {
  custom: {
    50: '#6a744d',
    500: '#2f4009',
    950: '#000000',
  },
}
SCSS
$custom: #2f4009;
$custom-light: #6a744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4009",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 78.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34464,
    "c": 0.07966,
    "h": 125.7
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#2F4009
secondary
#42277E
accent
#36F270
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F4009

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F4009 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva