#2F4A09#2F4A09

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

Color values

HEX#2F4A09
RGBrgb(47, 74, 9)
HSLhsl(85, 78%, 16%)
HSVhsv(85, 88%, 29%)
CMYKcmyk(36.5%, 0%, 87.8%, 71%)
CIE-LABlab(28.17, -21.39, 32.52)
CIE-LCHlch(28.17, 38.93, 123.33°)
OKLaboklab(37.36% -0.061 0.0717)
OKLCHoklch(37.36% 0.094 130.4)
XYZxyz(3.6704, 5.5215, 1.1308)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A09 #24094A
analogous
#4A4509 #2F4A09 #0F4A09
triadic
#2F4A09 #092F4A #4A092F
tetradic
#2F4A09 #094A45 #24094A #4A090F
square
#2F4A09 #094A45 #24094A #4A090F
split-complementary
#2F4A09 #090F4A #45094A
monochromatic
#111B03 #111B03 #2F4A09 #528110 #74B716

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4A09#FFFFFF#000000##FFFFFF
##2F4A091.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)
#4A4210
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4a09;
/* rgb */ color: rgb(47, 74, 9);
/* oklch */ color: oklch(37.4% 0.094 130.4);
Tailwind
colors: {
  custom: {
    50: '#6b7c4f',
    500: '#2f4a09',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a09;
$custom-light: #6b7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a09",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 84.923,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3736,
    "c": 0.09409,
    "h": 130.4
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#2F4A09
secondary
#4F2787
accent
#33F584
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4A09

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

Preview Lab → · Contrast checker → · Palette generator →

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