#2E510F#2E510F

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

Color values

HEX#2E510F
RGBrgb(46, 81, 15)
HSLhsl(92, 69%, 19%)
HSVhsv(92, 81%, 32%)
CMYKcmyk(43.2%, 0%, 81.5%, 68.2%)
CIE-LABlab(30.64, -24.90, 32.60)
CIE-LCHlch(30.64, 41.02, 127.37°)
OKLaboklab(39.37% -0.0699 0.0729)
OKLCHoklch(39.37% 0.101 133.8)
XYZxyz(4.1553, 6.5000, 1.4875)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E510F #320F51
analogous
#4F510F #2E510F #0F5111
triadic
#2E510F #0F2E51 #510F2E
tetradic
#2E510F #0F4F51 #320F51 #51110F
square
#2E510F #0F4F51 #320F51 #51110F
split-complementary
#2E510F #110F51 #510F4F
monochromatic
#0F1A05 #111D05 #2E510F #4B8519 #69B822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E510F#FFFFFF#000000##FFFFFF
##2E510F1.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)
#554A03
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e510f;
/* rgb */ color: rgb(46, 81, 15);
/* oklch */ color: oklch(39.4% 0.101 133.8);
Tailwind
colors: {
  custom: {
    50: '#6a8253',
    500: '#2e510f',
    950: '#000000',
  },
}
SCSS
$custom: #2e510f;
$custom-light: #6a8253;
$custom-dark: #000000;
JSON
{
  "hex": "#2e510f",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 91.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39373,
    "c": 0.101,
    "h": 133.8
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#2E510F
secondary
#61318B
accent
#3CEC99
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E510F

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

Preview Lab → · Contrast checker → · Palette generator →

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