#2E450D#2E450D

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

Color values

HEX#2E450D
RGBrgb(46, 69, 13)
HSLhsl(85, 68%, 16%)
HSVhsv(85, 81%, 27%)
CMYKcmyk(33.3%, 0%, 81.2%, 72.9%)
CIE-LABlab(26.35, -18.97, 29.20)
CIE-LCHlch(26.35, 34.83, 123.01°)
OKLaboklab(35.87% -0.054 0.0654)
OKLCHoklch(35.87% 0.085 129.5)
XYZxyz(3.3275, 4.8660, 1.1446)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E450D #240D45
analogous
#45400D #2E450D #12450D
triadic
#2E450D #0D2E45 #450D2E
tetradic
#2E450D #0D4540 #240D45 #450D12
square
#2E450D #0D4540 #240D45 #450D12
split-complementary
#2E450D #0D1245 #400D45
monochromatic
#111A05 #111A05 #2E450D #507817 #73AC20

Accessibility & contrast

On white

10.64
#2E450D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E450D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E450D#FFFFFF#000000##FFFFFF
##2E450D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F04
Deuteranopia (green-blind)
#453E12
Tritanopia (blue-blind)
#30423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e450d;
/* rgb */ color: rgb(46, 69, 13);
/* oklch */ color: oklch(35.9% 0.085 129.5);
Tailwind
colors: {
  custom: {
    50: '#697950',
    500: '#2e450d',
    950: '#000000',
  },
}
SCSS
$custom: #2e450d;
$custom-light: #697950;
$custom-dark: #000000;
JSON
{
  "hex": "#2e450d",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 13
  },
  "hsl": {
    "h": 84.643,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.08485,
    "h": 129.5
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#2E450D
secondary
#4F2D80
accent
#3DEB84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E450D

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

Preview Lab → · Contrast checker → · Palette generator →

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