#2E450C#2E450C

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

Color values

HEX#2E450C
RGBrgb(46, 69, 12)
HSLhsl(84, 70%, 16%)
HSVhsv(84, 83%, 27%)
CMYKcmyk(33.3%, 0%, 82.6%, 72.9%)
CIE-LABlab(26.34, -19.05, 29.62)
CIE-LCHlch(26.34, 35.21, 122.74°)
OKLaboklab(35.86% -0.0543 0.0661)
OKLCHoklch(35.86% 0.086 129.4)
XYZxyz(3.3212, 4.8635, 1.1115)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E450C #230C45
analogous
#453F0C #2E450C #11450C
triadic
#2E450C #0C2E45 #450C2E
tetradic
#2E450C #0C453F #230C45 #450C11
square
#2E450C #0C453F #230C45 #450C11
split-complementary
#2E450C #0C1145 #3F0C45
monochromatic
#111A05 #111A05 #2E450C #517915 #74AD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E450C#FFFFFF#000000##FFFFFF
##2E450C1.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)
#493F03
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#30423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e450c;
/* rgb */ color: rgb(46, 69, 12);
/* oklch */ color: oklch(35.9% 0.086 129.4);
Tailwind
colors: {
  custom: {
    50: '#69794f',
    500: '#2e450c',
    950: '#000000',
  },
}
SCSS
$custom: #2e450c;
$custom-light: #69794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e450c",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 84.211,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35859,
    "c": 0.08557,
    "h": 129.4
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#2E450C
secondary
#4E2C81
accent
#3BED83
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E450C

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

Preview Lab → · Contrast checker → · Palette generator →

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