#2E4106#2E4106

#2E4106 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.084 H 126.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4106
RGBrgb(46, 65, 6)
HSLhsl(79, 83%, 14%)
HSVhsv(79, 91%, 25%)
CMYKcmyk(29.2%, 0%, 90.8%, 74.5%)
CIE-LABlab(24.87, -17.29, 30.64)
CIE-LCHlch(24.87, 35.18, 119.43°)
OKLaboklab(34.65% -0.0501 0.0672)
OKLCHoklch(34.65% 0.084 126.7)
XYZxyz(3.0499, 4.3745, 0.8559)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4106 #190641
analogous
#413706 #2E4106 #114106
triadic
#2E4106 #062E41 #41062E
tetradic
#2E4106 #064137 #190641 #410611
square
#2E4106 #064137 #190641 #410611
split-complementary
#2E4106 #061141 #370641
monochromatic
#141C03 #141C03 #2E4106 #56790B #7DB110

Accessibility & contrast

On white

11.20
#2E4106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E4106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4106
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4106#FFFFFF#000000##FFFFFF
##2E41061.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423B0C
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4106;
/* rgb */ color: rgb(46, 65, 6);
/* oklch */ color: oklch(34.7% 0.084 126.7);
Tailwind
colors: {
  custom: {
    50: '#69754c',
    500: '#2e4106',
    950: '#000000',
  },
}
SCSS
$custom: #2e4106;
$custom-light: #69754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4106",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 79.322,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.08379,
    "h": 126.7
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#2E4106
secondary
#412281
accent
#2EF970
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4106

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

Preview Lab → · Contrast checker → · Palette generator →

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