#2C4208#2C4208

#2C4208 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.085 H 128.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2C4208
RGBrgb(44, 66, 8)
HSLhsl(83, 78%, 15%)
HSVhsv(83, 88%, 26%)
CMYKcmyk(33.3%, 0%, 87.9%, 74.1%)
CIE-LABlab(25.10, -18.62, 30.00)
CIE-LCHlch(25.10, 35.31, 121.83°)
OKLaboklab(34.81% -0.0534 0.0662)
OKLCHoklch(34.81% 0.085 128.9)
XYZxyz(3.0307, 4.4494, 0.9288)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4208 #1E0842
analogous
#423B08 #2C4208 #0F4208
triadic
#2C4208 #082C42 #42082C
tetradic
#2C4208 #08423B #1E0842 #42080F
square
#2C4208 #08423B #1E0842 #42080F
split-complementary
#2C4208 #080F42 #3B0842
monochromatic
#121B03 #121B03 #2C4208 #50790F #75AF15

Accessibility & contrast

On white

11.11
#2C4208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C4208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4208
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4208#FFFFFF#000000##FFFFFF
##2C42081.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#2E3F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4208;
/* rgb */ color: rgb(44, 66, 8);
/* oklch */ color: oklch(34.8% 0.085 128.9);
Tailwind
colors: {
  custom: {
    50: '#68764d',
    500: '#2c4208',
    950: '#000000',
  },
}
SCSS
$custom: #2c4208;
$custom-light: #68764d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4208",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 82.759,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34807,
    "c": 0.08505,
    "h": 128.9
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#2C4208
secondary
#482580
accent
#33F57C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4208

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

Preview Lab → · Contrast checker → · Palette generator →

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