#2E3B05#2E3B05

#2E3B05 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.076 H 122.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2E3B05
RGBrgb(46, 59, 5)
HSLhsl(74, 84%, 13%)
HSVhsv(74, 92%, 23%)
CMYKcmyk(22%, 0%, 91.5%, 76.9%)
CIE-LABlab(22.72, -14.00, 28.90)
CIE-LCHlch(22.72, 32.12, 115.85°)
OKLaboklab(32.91% -0.0413 0.0638)
OKLCHoklch(32.91% 0.076 122.9)
XYZxyz(2.7181, 3.7197, 0.7183)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3B05 #12053B
analogous
#3B2D05 #2E3B05 #133B05
triadic
#2E3B05 #052E3B #3B052E
tetradic
#2E3B05 #053B2D #12053B #3B0513
square
#2E3B05 #053B2D #12053B #3B0513
split-complementary
#2E3B05 #05133B #2D053B
monochromatic
#161C02 #161C02 #2E3B05 #5A730A #86AC0F

Accessibility & contrast

On white

12.04
#2E3B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E3B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3B05
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3B05#FFFFFF#000000##FFFFFF
##2E3B051.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#313731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e3b05;
/* rgb */ color: rgb(46, 59, 5);
/* oklch */ color: oklch(32.9% 0.076 122.9);
Tailwind
colors: {
  custom: {
    50: '#69714a',
    500: '#2e3b05',
    950: '#000000',
  },
}
SCSS
$custom: #2e3b05;
$custom-light: #69714a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3b05",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 74.444,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32906,
    "c": 0.07599,
    "h": 122.9
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#2E3B05
secondary
#36207C
accent
#2DFB5F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3B05

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

Preview Lab → · Contrast checker → · Palette generator →

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