#2E450F#2E450F

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

Color values

HEX#2E450F
RGBrgb(46, 69, 15)
HSLhsl(86, 64%, 16%)
HSVhsv(86, 78%, 27%)
CMYKcmyk(33.3%, 0%, 78.3%, 72.9%)
CIE-LABlab(26.37, -18.82, 28.34)
CIE-LCHlch(26.37, 34.02, 123.59°)
OKLaboklab(35.89% -0.0534 0.064)
OKLCHoklch(35.89% 0.083 129.8)
XYZxyz(3.3410, 4.8715, 1.2161)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E450F #260F45
analogous
#45410F #2E450F #13450F
triadic
#2E450F #0F2E45 #450F2E
tetradic
#2E450F #0F4541 #260F45 #450F13
square
#2E450F #0F4541 #260F45 #450F13
split-complementary
#2E450F #0F1345 #410F45
monochromatic
#111905 #111905 #2E450F #50771A #71AA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E450F#FFFFFF#000000##FFFFFF
##2E450F1.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)
#493F07
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#2F423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e450f;
/* rgb */ color: rgb(46, 69, 15);
/* oklch */ color: oklch(35.9% 0.083 129.8);
Tailwind
colors: {
  custom: {
    50: '#697951',
    500: '#2e450f',
    950: '#000000',
  },
}
SCSS
$custom: #2e450f;
$custom-light: #697951;
$custom-dark: #000000;
JSON
{
  "hex": "#2e450f",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 85.556,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.08334,
    "h": 129.8
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#2E450F
secondary
#52307F
accent
#41E788
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E450F

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

Preview Lab → · Contrast checker → · Palette generator →

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