#2E450B#2E450B

#2E450B is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.086 H 129.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2E450B
RGBrgb(46, 69, 11)
HSLhsl(84, 73%, 16%)
HSVhsv(84, 84%, 27%)
CMYKcmyk(33.3%, 0%, 84.1%, 72.9%)
CIE-LABlab(26.34, -19.12, 30.02)
CIE-LCHlch(26.34, 35.59, 122.49°)
OKLaboklab(35.85% -0.0546 0.0668)
OKLCHoklch(35.85% 0.086 129.3)
XYZxyz(3.3152, 4.8612, 1.0802)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E450B #220B45
analogous
#453F0B #2E450B #11450B
triadic
#2E450B #0B2E45 #450B2E
tetradic
#2E450B #0B453F #220B45 #450B11
square
#2E450B #0B453F #220B45 #450B11
split-complementary
#2E450B #0B1145 #3F0B45
monochromatic
#121A04 #121A04 #2E450B #517A13 #74AF1C

Accessibility & contrast

On white

10.65
#2E450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E450B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E450B#FFFFFF#000000##FFFFFF
##2E450B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F02
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#30423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e450b;
/* rgb */ color: rgb(46, 69, 11);
/* oklch */ color: oklch(35.9% 0.086 129.3);
Tailwind
colors: {
  custom: {
    50: '#69794f',
    500: '#2e450b',
    950: '#000000',
  },
}
SCSS
$custom: #2e450b;
$custom-light: #69794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e450b",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 83.793,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.08625,
    "h": 129.3
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#2E450B
secondary
#4D2A81
accent
#39EF81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E450B

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

Preview Lab → · Contrast checker → · Palette generator →

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