#2F4414#2F4414

#2F4414 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.077 H 129.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2F4414
RGBrgb(47, 68, 20)
HSLhsl(86, 55%, 17%)
HSVhsv(86, 71%, 27%)
CMYKcmyk(30.9%, 0%, 70.6%, 73.3%)
CIE-LABlab(26.13, -17.38, 25.68)
CIE-LCHlch(26.13, 31.01, 124.10°)
OKLaboklab(35.72% -0.049 0.0592)
OKLCHoklch(35.72% 0.077 129.7)
XYZxyz(3.3657, 4.7890, 1.4087)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4414 #291444
analogous
#444114 #2F4414 #174414
triadic
#2F4414 #142F44 #44142F
tetradic
#2F4414 #144441 #291444 #441417
square
#2F4414 #144441 #291444 #441417
split-complementary
#2F4414 #141744 #411444
monochromatic
#101807 #101807 #2F4414 #507322 #70A330

Accessibility & contrast

On white

10.73
#2F4414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F4414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4414
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4414#FFFFFF#000000##FFFFFF
##2F44141.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F0E
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#30413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f4414;
/* rgb */ color: rgb(47, 68, 20);
/* oklch */ color: oklch(35.7% 0.077 129.7);
Tailwind
colors: {
  custom: {
    50: '#697854',
    500: '#2f4414',
    950: '#000000',
  },
}
SCSS
$custom: #2f4414;
$custom-light: #697854;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4414",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 20
  },
  "hsl": {
    "h": 86.25,
    "s": 54.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.07683,
    "h": 129.7
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#2F4414
secondary
#56387C
accent
#4ADE8B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4414

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

Preview Lab → · Contrast checker → · Palette generator →

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