#2C3D08#2C3D08

#2C3D08 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.078 H 126.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2C3D08
RGBrgb(44, 61, 8)
HSLhsl(79, 77%, 14%)
HSVhsv(79, 87%, 24%)
CMYKcmyk(27.9%, 0%, 86.9%, 76.1%)
CIE-LABlab(23.31, -15.90, 28.23)
CIE-LCHlch(23.31, 32.40, 119.39°)
OKLaboklab(33.35% -0.046 0.0627)
OKLCHoklch(33.35% 0.078 126.3)
XYZxyz(2.7513, 3.8904, 0.8357)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D08 #19083D
analogous
#3D3308 #2C3D08 #113D08
triadic
#2C3D08 #082C3D #3D082C
tetradic
#2C3D08 #083D33 #19083D #3D0811
square
#2C3D08 #083D33 #19083D #3D0811
split-complementary
#2C3D08 #08113D #33083D
monochromatic
#141B04 #141B04 #2C3D08 #53730F #7AA916

Accessibility & contrast

On white

11.81
#2C3D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C3D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D08
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D08#FFFFFF#000000##FFFFFF
##2C3D081.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#2E3A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3d08;
/* rgb */ color: rgb(44, 61, 8);
/* oklch */ color: oklch(33.3% 0.078 126.3);
Tailwind
colors: {
  custom: {
    50: '#67724c',
    500: '#2c3d08',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d08;
$custom-light: #67724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d08",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 79.245,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.07773,
    "h": 126.3
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#2C3D08
secondary
#41257C
accent
#34F372
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C3D08

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

Preview Lab → · Contrast checker → · Palette generator →

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