#2E3811#2E3811

#2E3811 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.061 H 122.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2E3811
RGBrgb(46, 56, 17)
HSLhsl(75, 53%, 14%)
HSVhsv(75, 70%, 22%)
CMYKcmyk(17.9%, 0%, 69.6%, 78%)
CIE-LABlab(21.76, -11.30, 22.44)
CIE-LCHlch(21.76, 25.13, 116.73°)
OKLaboklab(32.16% -0.0324 0.0519)
OKLCHoklch(32.16% 0.061 122)
XYZxyz(2.6421, 3.4497, 1.0569)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3811 #1B1138
analogous
#382F11 #2E3811 #1B3811
triadic
#2E3811 #112E38 #38112E
tetradic
#2E3811 #11382F #1B1138 #38111B
square
#2E3811 #11382F #1B1138 #38111B
split-complementary
#2E3811 #111B38 #2F1138
monochromatic
#131707 #131707 #2E3811 #55671F #7B962E

Accessibility & contrast

On white

12.43
#2E3811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E3811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3811
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3811#FFFFFF#000000##FFFFFF
##2E38111.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340D
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#313530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e3811;
/* rgb */ color: rgb(46, 56, 17);
/* oklch */ color: oklch(32.2% 0.061 122.0);
Tailwind
colors: {
  custom: {
    50: '#686e51',
    500: '#2e3811',
    950: '#000000',
  },
}
SCSS
$custom: #2e3811;
$custom-light: #686e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3811",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 17
  },
  "hsl": {
    "h": 75.385,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32164,
    "c": 0.06118,
    "h": 122
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#2E3811
secondary
#433471
accent
#4BDD70
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E3811

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

Preview Lab → · Contrast checker → · Palette generator →

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