#2E450E#2E450E

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

Color values

HEX#2E450E
RGBrgb(46, 69, 14)
HSLhsl(85, 66%, 16%)
HSVhsv(85, 80%, 27%)
CMYKcmyk(33.3%, 0%, 79.7%, 72.9%)
CIE-LABlab(26.36, -18.90, 28.78)
CIE-LCHlch(26.36, 34.43, 123.30°)
OKLaboklab(35.88% -0.0537 0.0647)
OKLCHoklch(35.88% 0.084 129.7)
XYZxyz(3.3341, 4.8687, 1.1795)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E450E #250E45
analogous
#45410E #2E450E #13450E
triadic
#2E450E #0E2E45 #450E2E
tetradic
#2E450E #0E4541 #250E45 #450E13
square
#2E450E #0E4541 #250E45 #450E13
split-complementary
#2E450E #0E1345 #410E45
monochromatic
#111905 #111905 #2E450E #507818 #72AB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E450E#FFFFFF#000000##FFFFFF
##2E450E1.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)
#493F05
Deuteranopia (green-blind)
#453E13
Tritanopia (blue-blind)
#2F423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e450e;
/* rgb */ color: rgb(46, 69, 14);
/* oklch */ color: oklch(35.9% 0.084 129.7);
Tailwind
colors: {
  custom: {
    50: '#697950',
    500: '#2e450e',
    950: '#000000',
  },
}
SCSS
$custom: #2e450e;
$custom-light: #697950;
$custom-dark: #000000;
JSON
{
  "hex": "#2e450e",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 85.091,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.08411,
    "h": 129.7
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#2E450E
secondary
#512F80
accent
#3FE986
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E450E

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

Preview Lab → · Contrast checker → · Palette generator →

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