#2F4408#2F4408

#2F4408 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.086 H 127.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2F4408
RGBrgb(47, 68, 8)
HSLhsl(81, 79%, 15%)
HSVhsv(81, 88%, 27%)
CMYKcmyk(30.9%, 0%, 88.2%, 73.3%)
CIE-LABlab(26.03, -18.32, 30.93)
CIE-LCHlch(26.03, 35.95, 120.63°)
OKLaboklab(35.61% -0.0527 0.0681)
OKLCHoklch(35.61% 0.086 127.8)
XYZxyz(3.2832, 4.7560, 0.9747)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4408 #1D0844
analogous
#443B08 #2F4408 #114408
triadic
#2F4408 #082F44 #44082F
tetradic
#2F4408 #08443B #1D0844 #440811
square
#2F4408 #08443B #1D0844 #440811
split-complementary
#2F4408 #081144 #3B0844
monochromatic
#131B03 #131B03 #2F4408 #557B0E #7BB215

Accessibility & contrast

On white

10.76
#2F4408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F4408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4408
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4408#FFFFFF#000000##FFFFFF
##2F44081.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F00
Deuteranopia (green-blind)
#453D0E
Tritanopia (blue-blind)
#314039
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f4408;
/* rgb */ color: rgb(47, 68, 8);
/* oklch */ color: oklch(35.6% 0.086 127.8);
Tailwind
colors: {
  custom: {
    50: '#6a784d',
    500: '#2f4408',
    950: '#000000',
  },
}
SCSS
$custom: #2f4408;
$custom-light: #6a784d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4408",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 81,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.08613,
    "h": 127.8
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#2F4408
secondary
#462682
accent
#32F577
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #2F4408

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

Preview Lab → · Contrast checker → · Palette generator →

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