#2F4B0E#2F4B0E

#2F4B0E is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.092 H 131.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2F4B0E
RGBrgb(47, 75, 14)
HSLhsl(88, 69%, 17%)
HSVhsv(88, 81%, 29%)
CMYKcmyk(37.3%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.56, -21.58, 30.99)
CIE-LCHlch(28.56, 37.76, 124.86°)
OKLaboklab(37.69% -0.0611 0.0693)
OKLCHoklch(37.69% 0.092 131.4)
XYZxyz(3.7676, 5.6681, 1.3109)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B0E #2A0E4B
analogous
#4B480E #2F4B0E #114B0E
triadic
#2F4B0E #0E2F4B #4B0E2F
tetradic
#2F4B0E #0E4B48 #2A0E4B #4B0E11
square
#2F4B0E #0E4B48 #2A0E4B #4B0E11
split-complementary
#2F4B0E #0E114B #480E4B
monochromatic
#101A05 #101A05 #2F4B0E #4F7F18 #70B221

Accessibility & contrast

On white

9.84
#2F4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F4B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B0E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B0E#FFFFFF#000000##FFFFFF
##2F4B0E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#30483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b0e;
/* rgb */ color: rgb(47, 75, 14);
/* oklch */ color: oklch(37.7% 0.092 131.4);
Tailwind
colors: {
  custom: {
    50: '#6a7d51',
    500: '#2f4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b0e;
$custom-light: #6a7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b0e",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 87.541,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.0924,
    "h": 131.4
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#2F4B0E
secondary
#572F86
accent
#3CEB8D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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