#2E510E#2E510E

#2E510E is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.102 H 133.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2E510E
RGBrgb(46, 81, 14)
HSLhsl(91, 71%, 19%)
HSVhsv(91, 83%, 32%)
CMYKcmyk(43.2%, 0%, 82.7%, 68.2%)
CIE-LABlab(30.63, -24.97, 32.99)
CIE-LCHlch(30.63, 41.37, 127.12°)
OKLaboklab(39.37% -0.0702 0.0735)
OKLCHoklch(39.37% 0.102 133.7)
XYZxyz(4.1483, 6.4972, 1.4509)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E510E #310E51
analogous
#4F510E #2E510E #0E510F
triadic
#2E510E #0E2E51 #510E2E
tetradic
#2E510E #0E4F51 #310E51 #510F0E
square
#2E510E #0E4F51 #310E51 #510F0E
split-complementary
#2E510E #0F0E51 #510E4F
monochromatic
#0F1A05 #101D05 #2E510E #4C8517 #69B920

Accessibility & contrast

On white

9.13
#2E510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E510E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E510E#FFFFFF#000000##FFFFFF
##2E510E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e510e;
/* rgb */ color: rgb(46, 81, 14);
/* oklch */ color: oklch(39.4% 0.102 133.7);
Tailwind
colors: {
  custom: {
    50: '#6a8252',
    500: '#2e510e',
    950: '#000000',
  },
}
SCSS
$custom: #2e510e;
$custom-light: #6a8252;
$custom-dark: #000000;
JSON
{
  "hex": "#2e510e",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 91.343,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.10164,
    "h": 133.7
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#2E510E
secondary
#5F2F8C
accent
#3AED98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E510E

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

Preview Lab → · Contrast checker → · Palette generator →

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