#2C4408#2C4408

#2C4408 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.088 H 129.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2C4408
RGBrgb(44, 68, 8)
HSLhsl(84, 79%, 15%)
HSVhsv(84, 88%, 27%)
CMYKcmyk(35.3%, 0%, 88.2%, 73.3%)
CIE-LABlab(25.82, -19.68, 30.67)
CIE-LCHlch(25.82, 36.44, 122.68°)
OKLaboklab(35.39% -0.0562 0.0676)
OKLCHoklch(35.39% 0.088 129.7)
XYZxyz(3.1496, 4.6871, 0.9684)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4408 #200844
analogous
#443E08 #2C4408 #0E4408
triadic
#2C4408 #082C44 #44082C
tetradic
#2C4408 #08443E #200844 #44080E
square
#2C4408 #08443E #200844 #44080E
split-complementary
#2C4408 #080E44 #3E0844
monochromatic
#121B03 #121B03 #2C4408 #4F7B0E #73B215

Accessibility & contrast

On white

10.84
#2C4408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C4408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4408
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4408#FFFFFF#000000##FFFFFF
##2C44081.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#443D0E
Tritanopia (blue-blind)
#2D4139
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c4408;
/* rgb */ color: rgb(44, 68, 8);
/* oklch */ color: oklch(35.4% 0.088 129.7);
Tailwind
colors: {
  custom: {
    50: '#68784d',
    500: '#2c4408',
    950: '#000000',
  },
}
SCSS
$custom: #2c4408;
$custom-light: #68784d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4408",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 84,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35393,
    "c": 0.08795,
    "h": 129.7
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#2C4408
secondary
#4B2682
accent
#32F580
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2C4408

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

Preview Lab → · Contrast checker → · Palette generator →

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