#2C3E08#2C3E08

#2C3E08 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.079 H 126.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2C3E08
RGBrgb(44, 62, 8)
HSLhsl(80, 77%, 14%)
HSVhsv(80, 87%, 24%)
CMYKcmyk(29%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.67, -16.45, 28.59)
CIE-LCHlch(23.67, 32.99, 119.92°)
OKLaboklab(33.64% -0.0475 0.0634)
OKLCHoklch(33.64% 0.079 126.8)
XYZxyz(2.8052, 3.9982, 0.8536)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E08 #1A083E
analogous
#3E3508 #2C3E08 #113E08
triadic
#2C3E08 #082C3E #3E082C
tetradic
#2C3E08 #083E35 #1A083E #3E0811
square
#2C3E08 #083E35 #1A083E #3E0811
split-complementary
#2C3E08 #08113E #35083E
monochromatic
#131B03 #131B03 #2C3E08 #52740F #79AA16

Accessibility & contrast

On white

11.67
#2C3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E08
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E08#FFFFFF#000000##FFFFFF
##2C3E081.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#2E3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3e08;
/* rgb */ color: rgb(44, 62, 8);
/* oklch */ color: oklch(33.6% 0.079 126.8);
Tailwind
colors: {
  custom: {
    50: '#67734c',
    500: '#2c3e08',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e08;
$custom-light: #67734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e08",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 80,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.07919,
    "h": 126.8
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#2C3E08
secondary
#42257D
accent
#34F474
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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