#2F4208#2F4208

#2F4208 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.083 H 126.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2F4208
RGBrgb(47, 66, 8)
HSLhsl(80, 78%, 15%)
HSVhsv(80, 88%, 26%)
CMYKcmyk(28.8%, 0%, 87.9%, 74.1%)
CIE-LABlab(25.32, -17.24, 30.27)
CIE-LCHlch(25.32, 34.84, 119.66°)
OKLaboklab(35.03% -0.0498 0.0667)
OKLCHoklch(35.03% 0.083 126.7)
XYZxyz(3.1643, 4.5182, 0.9351)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4208 #1B0842
analogous
#423808 #2F4208 #124208
triadic
#2F4208 #082F42 #42082F
tetradic
#2F4208 #084238 #1B0842 #420812
square
#2F4208 #084238 #1B0842 #420812
split-complementary
#2F4208 #081242 #380842
monochromatic
#131B03 #131B03 #2F4208 #56790F #7DAF15

Accessibility & contrast

On white

11.03
#2F4208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F4208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4208
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4208#FFFFFF#000000##FFFFFF
##2F42081.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433C0E
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4208;
/* rgb */ color: rgb(47, 66, 8);
/* oklch */ color: oklch(35.0% 0.083 126.7);
Tailwind
colors: {
  custom: {
    50: '#6a764d',
    500: '#2f4208',
    950: '#000000',
  },
}
SCSS
$custom: #2f4208;
$custom-light: #6a764d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4208",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 79.655,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.08325,
    "h": 126.7
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#2F4208
secondary
#432580
accent
#33F572
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F4208

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

Preview Lab → · Contrast checker → · Palette generator →

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