#2E3C08#2E3C08

#2E3C08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.075 H 123.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2E3C08
RGBrgb(46, 60, 8)
HSLhsl(76, 76%, 13%)
HSVhsv(76, 87%, 24%)
CMYKcmyk(23.3%, 0%, 86.7%, 76.5%)
CIE-LABlab(23.10, -14.37, 28.07)
CIE-LCHlch(23.10, 31.53, 117.11°)
OKLaboklab(33.22% -0.0419 0.0623)
OKLCHoklch(33.22% 0.075 123.9)
XYZxyz(2.7864, 3.8301, 0.8222)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3C08 #16083C
analogous
#3C3008 #2E3C08 #143C08
triadic
#2E3C08 #082E3C #3C082E
tetradic
#2E3C08 #083C30 #16083C #3C0814
square
#2E3C08 #083C30 #16083C #3C0814
split-complementary
#2E3C08 #08143C #30083C
monochromatic
#151B04 #151B04 #2E3C08 #57720F #81A816

Accessibility & contrast

On white

11.89
#2E3C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E3C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3C08
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3C08#FFFFFF#000000##FFFFFF
##2E3C081.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403801
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#313932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e3c08;
/* rgb */ color: rgb(46, 60, 8);
/* oklch */ color: oklch(33.2% 0.075 123.9);
Tailwind
colors: {
  custom: {
    50: '#69714c',
    500: '#2e3c08',
    950: '#000000',
  },
}
SCSS
$custom: #2e3c08;
$custom-light: #69714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3c08",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 76.154,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3322,
    "c": 0.07511,
    "h": 123.9
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#2E3C08
secondary
#3C257B
accent
#35F368
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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