#2F4D0E#2F4D0E

#2F4D0E is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.095 H 132.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2F4D0E
RGBrgb(47, 77, 14)
HSLhsl(89, 69%, 18%)
HSVhsv(89, 82%, 30%)
CMYKcmyk(39%, 0%, 81.8%, 69.8%)
CIE-LABlab(29.27, -22.59, 31.68)
CIE-LCHlch(29.27, 38.91, 125.49°)
OKLaboklab(38.27% -0.0638 0.0708)
OKLCHoklch(38.27% 0.095 132)
XYZxyz(3.9054, 5.9436, 1.3568)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D0E #2C0E4D
analogous
#4D4B0E #2F4D0E #104D0E
triadic
#2F4D0E #0E2F4D #4D0E2F
tetradic
#2F4D0E #0E4D4B #2C0E4D #4D0E10
square
#2F4D0E #0E4D4B #2C0E4D #4D0E10
split-complementary
#2F4D0E #0E104D #4B0E4D
monochromatic
#101A05 #101A05 #2F4D0E #4F8117 #6EB521

Accessibility & contrast

On white

9.59
#2F4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F4D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D0E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D0E#FFFFFF#000000##FFFFFF
##2F4D0E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514603
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#304941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4d0e;
/* rgb */ color: rgb(47, 77, 14);
/* oklch */ color: oklch(38.3% 0.095 132.0);
Tailwind
colors: {
  custom: {
    50: '#6b7f52',
    500: '#2f4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d0e;
$custom-light: #6b7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d0e",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 88.571,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.09531,
    "h": 132
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#2F4D0E
secondary
#592F88
accent
#3CEC90
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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