#2A5E0E#2A5E0E

#2A5E0E is a dark, vivid yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.122 H 137.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2A5E0E
RGBrgb(42, 94, 14)
HSLhsl(99, 74%, 21%)
HSVhsv(99, 85%, 37%)
CMYKcmyk(55.3%, 0%, 85.1%, 63.1%)
CIE-LABlab(35.06, -32.29, 37.12)
CIE-LCHlch(35.06, 49.20, 131.01°)
OKLaboklab(42.95% -0.0896 0.0823)
OKLCHoklch(42.95% 0.122 137.4)
XYZxyz(5.0366, 8.5290, 1.7962)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E0E #420E5E
analogous
#525E0E #2A5E0E #0E5E1A
triadic
#2A5E0E #0E2A5E #5E0E2A
tetradic
#2A5E0E #0E525E #420E5E #5E1A0E
square
#2A5E0E #0E525E #420E5E #5E1A0E
split-complementary
#2A5E0E #1A0E5E #5E0E52
monochromatic
#0C1B04 #122906 #2A5E0E #429316 #5AC91E

Accessibility & contrast

On white

7.76
#2A5E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E0E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E0E#FFFFFF#000000##FFFFFF
##2A5E0E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#265A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5e0e;
/* rgb */ color: rgb(42, 94, 14);
/* oklch */ color: oklch(42.9% 0.122 137.4);
Tailwind
colors: {
  custom: {
    50: '#6a8c54',
    500: '#2a5e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e0e;
$custom-light: #6a8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e0e",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 99,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.12163,
    "h": 137.4
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#2A5E0E
secondary
#733098
accent
#37F1B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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