#2E5F0D#2E5F0D

#2E5F0D is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.121 H 136.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2E5F0D
RGBrgb(46, 95, 13)
HSLhsl(96, 76%, 21%)
HSVhsv(96, 86%, 37%)
CMYKcmyk(51.6%, 0%, 86.3%, 62.7%)
CIE-LABlab(35.58, -31.43, 38.00)
CIE-LCHlch(35.58, 49.31, 129.60°)
OKLaboklab(43.43% -0.0876 0.0839)
OKLCHoklch(43.43% 0.121 136.3)
XYZxyz(5.2914, 8.7940, 1.7993)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F0D #3E0D5F
analogous
#575F0D #2E5F0D #0D5F15
triadic
#2E5F0D #0D2E5F #5F0D2E
tetradic
#2E5F0D #0D575F #3E0D5F #5F150D
square
#2E5F0D #0D575F #3E0D5F #5F150D
split-complementary
#2E5F0D #150D5F #5F0D57
monochromatic
#0D1B04 #142906 #2E5F0D #489514 #62CB1C

Accessibility & contrast

On white

7.61
#2E5F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E5F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5F0D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F0D#FFFFFF#000000##FFFFFF
##2E5F0D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2C5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f0d;
/* rgb */ color: rgb(46, 95, 13);
/* oklch */ color: oklch(43.4% 0.121 136.3);
Tailwind
colors: {
  custom: {
    50: '#6d8d54',
    500: '#2e5f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f0d;
$custom-light: #6d8d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f0d",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 95.854,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.12129,
    "h": 136.3
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#2E5F0D
secondary
#6E2F99
accent
#35F3A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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