#2E3C05#2E3C05

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

Color values

HEX#2E3C05
RGBrgb(46, 60, 5)
HSLhsl(75, 85%, 13%)
HSVhsv(75, 92%, 24%)
CMYKcmyk(23.3%, 0%, 91.7%, 76.5%)
CIE-LABlab(23.08, -14.58, 29.27)
CIE-LCHlch(23.08, 32.70, 116.47°)
OKLaboklab(33.2% -0.0428 0.0645)
OKLCHoklch(33.2% 0.077 123.6)
XYZxyz(2.7700, 3.8235, 0.7356)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3C05 #13053C
analogous
#3C2E05 #2E3C05 #123C05
triadic
#2E3C05 #052E3C #3C052E
tetradic
#2E3C05 #053C2E #13053C #3C0512
square
#2E3C05 #053C2E #13053C #3C0512
split-complementary
#2E3C05 #05123C #2E053C
monochromatic
#161C02 #161C02 #2E3C05 #59740A #85AD0E

Accessibility & contrast

On white

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

On black

1.76
#2E3C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E3C05#FFFFFF#000000##FFFFFF
##2E3C051.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3c05;
/* rgb */ color: rgb(46, 60, 5);
/* oklch */ color: oklch(33.2% 0.077 123.6);
Tailwind
colors: {
  custom: {
    50: '#69714b',
    500: '#2e3c05',
    950: '#000000',
  },
}
SCSS
$custom: #2e3c05;
$custom-light: #69714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3c05",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 75.273,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33195,
    "c": 0.07741,
    "h": 123.6
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#2E3C05
secondary
#38207D
accent
#2DFB61
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3C05

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

Preview Lab → · Contrast checker → · Palette generator →

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