#2F4A0D#2F4A0D

#2F4A0D is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.092 H 130.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2F4A0D
RGBrgb(47, 74, 13)
HSLhsl(87, 70%, 17%)
HSVhsv(87, 82%, 29%)
CMYKcmyk(36.5%, 0%, 82.4%, 71%)
CIE-LABlab(28.20, -21.14, 31.04)
CIE-LCHlch(28.20, 37.56, 124.26°)
OKLaboklab(37.39% -0.06 0.0693)
OKLCHoklch(37.39% 0.092 130.9)
XYZxyz(3.6937, 5.5308, 1.2536)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A0D #280D4A
analogous
#4A470D #2F4A0D #114A0D
triadic
#2F4A0D #0D2F4A #4A0D2F
tetradic
#2F4A0D #0D4A47 #280D4A #4A0D11
square
#2F4A0D #0D4A47 #280D4A #4A0D11
split-complementary
#2F4A0D #0D114A #470D4A
monochromatic
#111A05 #111A05 #2F4A0D #507E16 #71B21F

Accessibility & contrast

On white

9.97
#2F4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F4A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A0D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A0D#FFFFFF#000000##FFFFFF
##2F4A0D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4403
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a0d;
/* rgb */ color: rgb(47, 74, 13);
/* oklch */ color: oklch(37.4% 0.092 130.9);
Tailwind
colors: {
  custom: {
    50: '#6a7c51',
    500: '#2f4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a0d;
$custom-light: #6a7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a0d",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 86.557,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37388,
    "c": 0.09162,
    "h": 130.9
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#2F4A0D
secondary
#542E85
accent
#3BED8A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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