#2A5D10#2A5D10

#2A5D10 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.7% C 0.119 H 137.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2A5D10
RGBrgb(42, 93, 16)
HSLhsl(100, 71%, 21%)
HSVhsv(100, 83%, 36%)
CMYKcmyk(54.8%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.72, -31.73, 36.10)
CIE-LCHlch(34.72, 48.07, 131.31°)
OKLaboklab(42.67% -0.0879 0.0805)
OKLCHoklch(42.67% 0.119 137.5)
XYZxyz(4.9626, 8.3580, 1.8419)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D10 #43105D
analogous
#515D10 #2A5D10 #105D1D
triadic
#2A5D10 #102A5D #5D102A
tetradic
#2A5D10 #10515D #43105D #5D1D10
square
#2A5D10 #10515D #43105D #5D1D10
split-complementary
#2A5D10 #1D105D #5D1051
monochromatic
#0C1A04 #122907 #2A5D10 #429119 #59C522

Accessibility & contrast

On white

7.86
#2A5D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D10
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D10#FFFFFF#000000##FFFFFF
##2A5D101.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#26594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5d10;
/* rgb */ color: rgb(42, 93, 16);
/* oklch */ color: oklch(42.7% 0.119 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a8b55',
    500: '#2a5d10',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d10;
$custom-light: #6a8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d10",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 99.74,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.11921,
    "h": 137.5
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#2A5D10
secondary
#753396
accent
#3AEDB1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5D10

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

Preview Lab → · Contrast checker → · Palette generator →

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