#2F4A0A#2F4A0A

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

Color values

HEX#2F4A0A
RGBrgb(47, 74, 10)
HSLhsl(85, 76%, 16%)
HSVhsv(85, 86%, 29%)
CMYKcmyk(36.5%, 0%, 86.5%, 71%)
CIE-LABlab(28.18, -21.33, 32.17)
CIE-LCHlch(28.18, 38.60, 123.56°)
OKLaboklab(37.37% -0.0607 0.0711)
OKLCHoklch(37.37% 0.094 130.5)
XYZxyz(3.6758, 5.5237, 1.1596)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A0A #250A4A
analogous
#4A450A #2F4A0A #0F4A0A
triadic
#2F4A0A #0A2F4A #4A0A2F
tetradic
#2F4A0A #0A4A45 #250A4A #4A0A0F
square
#2F4A0A #0A4A45 #250A4A #4A0A0F
split-complementary
#2F4A0A #0A0F4A #450A4A
monochromatic
#111B04 #111B04 #2F4A0A #518011 #73B619

Accessibility & contrast

On white

9.98
#2F4A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F4A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A0A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A0A#FFFFFF#000000##FFFFFF
##2F4A0A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4A4211
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4a0a;
/* rgb */ color: rgb(47, 74, 10);
/* oklch */ color: oklch(37.4% 0.093 130.5);
Tailwind
colors: {
  custom: {
    50: '#6b7c4f',
    500: '#2f4a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a0a;
$custom-light: #6b7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a0a",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 85.313,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37367,
    "c": 0.0935,
    "h": 130.5
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#2F4A0A
secondary
#512987
accent
#35F385
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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