#2E3E08#2E3E08

#2E3E08 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.078 H 125.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E3E08
RGBrgb(46, 62, 8)
HSLhsl(78, 77%, 14%)
HSVhsv(78, 87%, 24%)
CMYKcmyk(25.8%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.82, -15.50, 28.79)
CIE-LCHlch(23.82, 32.70, 118.29°)
OKLaboklab(33.8% -0.045 0.0637)
OKLCHoklch(33.8% 0.078 125.2)
XYZxyz(2.8932, 4.0436, 0.8577)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E08 #18083E
analogous
#3E3308 #2E3E08 #133E08
triadic
#2E3E08 #082E3E #3E082E
tetradic
#2E3E08 #083E33 #18083E #3E0813
square
#2E3E08 #083E33 #18083E #3E0813
split-complementary
#2E3E08 #08133E #33083E
monochromatic
#141B03 #141B03 #2E3E08 #56740F #7EAA16

Accessibility & contrast

On white

11.61
#2E3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E08
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E08#FFFFFF#000000##FFFFFF
##2E3E081.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#40380D
Tritanopia (blue-blind)
#313B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3e08;
/* rgb */ color: rgb(46, 62, 8);
/* oklch */ color: oklch(33.8% 0.078 125.2);
Tailwind
colors: {
  custom: {
    50: '#69734c',
    500: '#2e3e08',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e08;
$custom-light: #69734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e08",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 77.778,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33798,
    "c": 0.07803,
    "h": 125.2
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#2E3E08
secondary
#3F257D
accent
#34F46D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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