#2F4B0D#2F4B0D

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

Color values

HEX#2F4B0D
RGBrgb(47, 75, 13)
HSLhsl(87, 70%, 17%)
HSVhsv(87, 83%, 29%)
CMYKcmyk(37.3%, 0%, 82.7%, 70.6%)
CIE-LABlab(28.55, -21.65, 31.38)
CIE-LCHlch(28.55, 38.13, 124.60°)
OKLaboklab(37.68% -0.0614 0.07)
OKLCHoklch(37.68% 0.093 131.2)
XYZxyz(3.7610, 5.6654, 1.2761)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B0D #290D4B
analogous
#4B480D #2F4B0D #104B0D
triadic
#2F4B0D #0D2F4B #4B0D2F
tetradic
#2F4B0D #0D4B48 #290D4B #4B0D10
square
#2F4B0D #0D4B48 #290D4B #4B0D10
split-complementary
#2F4B0D #0D104B #480D4B
monochromatic
#101A05 #101A05 #2F4B0D #507F16 #70B31F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4B0D#FFFFFF#000000##FFFFFF
##2F4B0D1.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)
#4F4502
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#30473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4b0d;
/* rgb */ color: rgb(47, 75, 13);
/* oklch */ color: oklch(37.7% 0.093 131.2);
Tailwind
colors: {
  custom: {
    50: '#6b7d51',
    500: '#2f4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b0d;
$custom-light: #6b7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b0d",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 87.097,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37678,
    "c": 0.09308,
    "h": 131.2
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#2F4B0D
secondary
#562E86
accent
#3BED8B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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