#2F4C0D#2F4C0D

#2F4C0D is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.095 H 131.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2F4C0D
RGBrgb(47, 76, 13)
HSLhsl(88, 71%, 17%)
HSVhsv(88, 83%, 30%)
CMYKcmyk(38.2%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.91, -22.16, 31.73)
CIE-LCHlch(28.91, 38.70, 124.93°)
OKLaboklab(37.97% -0.0627 0.0707)
OKLCHoklch(37.97% 0.095 131.6)
XYZxyz(3.8293, 5.8021, 1.2989)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C0D #2A0D4C
analogous
#4C4A0D #2F4C0D #0F4C0D
triadic
#2F4C0D #0D2F4C #4C0D2F
tetradic
#2F4C0D #0D4C4A #2A0D4C #4C0D0F
square
#2F4C0D #0D4C4A #2A0D4C #4C0D0F
split-complementary
#2F4C0D #0D0F4C #4A0D4C
monochromatic
#101A04 #101A04 #2F4C0D #4F8016 #70B51F

Accessibility & contrast

On white

9.72
#2F4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C0D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C0D#FFFFFF#000000##FFFFFF
##2F4C0D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4C4313
Tritanopia (blue-blind)
#304840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4c0d;
/* rgb */ color: rgb(47, 76, 13);
/* oklch */ color: oklch(38.0% 0.095 131.6);
Tailwind
colors: {
  custom: {
    50: '#6b7e51',
    500: '#2f4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c0d;
$custom-light: #6b7e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c0d",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 87.619,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.09452,
    "h": 131.6
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#2F4C0D
secondary
#572E87
accent
#3AEE8D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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