#2E3C06#2E3C06

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

Color values

HEX#2E3C06
RGBrgb(46, 60, 6)
HSLhsl(76, 82%, 13%)
HSVhsv(76, 90%, 24%)
CMYKcmyk(23.3%, 0%, 90%, 76.5%)
CIE-LABlab(23.09, -14.51, 28.87)
CIE-LCHlch(23.09, 32.31, 116.68°)
OKLaboklab(33.2% -0.0425 0.0638)
OKLCHoklch(33.2% 0.077 123.7)
XYZxyz(2.7755, 3.8257, 0.7645)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3C06 #14063C
analogous
#3C2F06 #2E3C06 #133C06
triadic
#2E3C06 #062E3C #3C062E
tetradic
#2E3C06 #063C2F #14063C #3C0613
square
#2E3C06 #063C2F #14063C #3C0613
split-complementary
#2E3C06 #06133C #2F063C
monochromatic
#151C03 #151C03 #2E3C06 #59740C #83AB11

Accessibility & contrast

On white

11.90
#2E3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3C06
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3C06#FFFFFF#000000##FFFFFF
##2E3C061.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#313832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e3c06;
/* rgb */ color: rgb(46, 60, 6);
/* oklch */ color: oklch(33.2% 0.077 123.7);
Tailwind
colors: {
  custom: {
    50: '#69714b',
    500: '#2e3c06',
    950: '#000000',
  },
}
SCSS
$custom: #2e3c06;
$custom-light: #69714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3c06",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 75.556,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33203,
    "c": 0.07664,
    "h": 123.7
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#2E3C06
secondary
#39227C
accent
#30F864
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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