#2E3D08#2E3D08

#2E3D08 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.077 H 124.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2E3D08
RGBrgb(46, 61, 8)
HSLhsl(77, 77%, 14%)
HSVhsv(77, 87%, 24%)
CMYKcmyk(24.6%, 0%, 86.9%, 76.1%)
CIE-LABlab(23.46, -14.94, 28.43)
CIE-LCHlch(23.46, 32.12, 117.71°)
OKLaboklab(33.51% -0.0435 0.063)
OKLCHoklch(33.51% 0.077 124.6)
XYZxyz(2.8393, 3.9358, 0.8398)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D08 #17083D
analogous
#3D3108 #2E3D08 #133D08
triadic
#2E3D08 #082E3D #3D082E
tetradic
#2E3D08 #083D31 #17083D #3D0813
square
#2E3D08 #083D31 #17083D #3D0813
split-complementary
#2E3D08 #08133D #31083D
monochromatic
#141B04 #141B04 #2E3D08 #57730F #80A916

Accessibility & contrast

On white

11.75
#2E3D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E3D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D08
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D08#FFFFFF#000000##FFFFFF
##2E3D081.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#313A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3d08;
/* rgb */ color: rgb(46, 61, 8);
/* oklch */ color: oklch(33.5% 0.077 124.6);
Tailwind
colors: {
  custom: {
    50: '#69724c',
    500: '#2e3d08',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d08;
$custom-light: #69724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d08",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 76.981,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33509,
    "c": 0.07657,
    "h": 124.6
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#2E3D08
secondary
#3E257C
accent
#34F36A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E3D08

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

Preview Lab → · Contrast checker → · Palette generator →

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