#2F4809#2F4809

#2F4809 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.091 H 129.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2F4809
RGBrgb(47, 72, 9)
HSLhsl(84, 78%, 16%)
HSVhsv(84, 88%, 28%)
CMYKcmyk(34.7%, 0%, 87.5%, 71.8%)
CIE-LABlab(27.46, -20.36, 31.87)
CIE-LCHlch(27.46, 37.82, 122.58°)
OKLaboklab(36.78% -0.0582 0.0703)
OKLCHoklch(36.78% 0.091 129.6)
XYZxyz(3.5390, 5.2587, 1.0870)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4809 #220948
analogous
#484109 #2F4809 #0F4809
triadic
#2F4809 #092F48 #48092F
tetradic
#2F4809 #094841 #220948 #48090F
square
#2F4809 #094841 #220948 #48090F
split-complementary
#2F4809 #090F48 #410948
monochromatic
#121B03 #121B03 #2F4809 #537E10 #76B517

Accessibility & contrast

On white

10.23
#2F4809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F4809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4809
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4809#FFFFFF#000000##FFFFFF
##2F48091.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#31443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f4809;
/* rgb */ color: rgb(47, 72, 9);
/* oklch */ color: oklch(36.8% 0.091 129.6);
Tailwind
colors: {
  custom: {
    50: '#6a7b4e',
    500: '#2f4809',
    950: '#000000',
  },
}
SCSS
$custom: #2f4809;
$custom-light: #6a7b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4809",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 83.81,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3678,
    "c": 0.09123,
    "h": 129.6
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#2F4809
secondary
#4D2785
accent
#34F480
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4809

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

Preview Lab → · Contrast checker → · Palette generator →

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