#2F4D0D#2F4D0D

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

Color values

HEX#2F4D0D
RGBrgb(47, 77, 13)
HSLhsl(88, 71%, 18%)
HSVhsv(88, 83%, 30%)
CMYKcmyk(39%, 0%, 83.1%, 69.8%)
CIE-LABlab(29.26, -22.66, 32.07)
CIE-LCHlch(29.26, 39.27, 125.24°)
OKLaboklab(38.26% -0.0641 0.0714)
OKLCHoklch(38.26% 0.096 131.9)
XYZxyz(3.8988, 5.9410, 1.3220)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D0D #2B0D4D
analogous
#4D4B0D #2F4D0D #0F4D0D
triadic
#2F4D0D #0D2F4D #4D0D2F
tetradic
#2F4D0D #0D4D4B #2B0D4D #4D0D0F
square
#2F4D0D #0D4D4B #2B0D4D #4D0D0F
split-complementary
#2F4D0D #0D0F4D #4B0D4D
monochromatic
#101A04 #101A04 #2F4D0D #4F8116 #6FB61F

Accessibility & contrast

On white

9.60
#2F4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4D0D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D0D#FFFFFF#000000##FFFFFF
##2F4D0D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4d0d;
/* rgb */ color: rgb(47, 77, 13);
/* oklch */ color: oklch(38.3% 0.096 131.9);
Tailwind
colors: {
  custom: {
    50: '#6b7f51',
    500: '#2f4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d0d;
$custom-light: #6b7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d0d",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 88.125,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38259,
    "c": 0.09597,
    "h": 131.9
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#2F4D0D
secondary
#582E88
accent
#3AEE8E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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