#2F4209#2F4209

#2F4209 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.083 H 126.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2F4209
RGBrgb(47, 66, 9)
HSLhsl(80, 76%, 15%)
HSVhsv(80, 86%, 26%)
CMYKcmyk(28.8%, 0%, 86.4%, 74.1%)
CIE-LABlab(25.32, -17.17, 29.87)
CIE-LCHlch(25.32, 34.46, 119.89°)
OKLaboklab(35.04% -0.0495 0.0661)
OKLCHoklch(35.04% 0.083 126.9)
XYZxyz(3.1698, 4.5204, 0.9639)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4209 #1C0942
analogous
#423909 #2F4209 #134209
triadic
#2F4209 #092F42 #42092F
tetradic
#2F4209 #094239 #1C0942 #420913
square
#2F4209 #094239 #1C0942 #420913
split-complementary
#2F4209 #091342 #390942
monochromatic
#131B04 #131B04 #2F4209 #557810 #7CAE18

Accessibility & contrast

On white

11.03
#2F4209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F4209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4209
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4209#FFFFFF#000000##FFFFFF
##2F42091.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433C0F
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4209;
/* rgb */ color: rgb(47, 66, 9);
/* oklch */ color: oklch(35.0% 0.083 126.9);
Tailwind
colors: {
  custom: {
    50: '#6a764d',
    500: '#2f4209',
    950: '#000000',
  },
}
SCSS
$custom: #2f4209;
$custom-light: #6a764d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4209",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 9
  },
  "hsl": {
    "h": 80,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35042,
    "c": 0.08258,
    "h": 126.9
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#2F4209
secondary
#452780
accent
#35F374
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #2F4209

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

Preview Lab → · Contrast checker → · Palette generator →

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