#2E3F08#2E3F08

#2E3F08 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.079 H 125.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2E3F08
RGBrgb(46, 63, 8)
HSLhsl(79, 77%, 14%)
HSVhsv(79, 87%, 25%)
CMYKcmyk(27%, 0%, 87.3%, 75.3%)
CIE-LABlab(24.17, -16.06, 29.15)
CIE-LCHlch(24.17, 33.28, 118.85°)
OKLaboklab(34.09% -0.0465 0.0644)
OKLCHoklch(34.09% 0.079 125.8)
XYZxyz(2.9481, 4.1533, 0.8760)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F08 #19083F
analogous
#3F3508 #2E3F08 #133F08
triadic
#2E3F08 #082E3F #3F082E
tetradic
#2E3F08 #083F35 #19083F #3F0813
square
#2E3F08 #083F35 #19083F #3F0813
split-complementary
#2E3F08 #08133F #35083F
monochromatic
#141B03 #141B03 #2E3F08 #56750F #7DAC16

Accessibility & contrast

On white

11.47
#2E3F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E3F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3F08
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F08#FFFFFF#000000##FFFFFF
##2E3F081.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#41390D
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3f08;
/* rgb */ color: rgb(46, 63, 8);
/* oklch */ color: oklch(34.1% 0.079 125.8);
Tailwind
colors: {
  custom: {
    50: '#69744c',
    500: '#2e3f08',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f08;
$custom-light: #69744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f08",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 78.545,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.07948,
    "h": 125.8
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#2E3F08
secondary
#41257E
accent
#34F46F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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