#2A5A10#2A5A10

#2A5A10 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.115 H 137.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2A5A10
RGBrgb(42, 90, 16)
HSLhsl(99, 70%, 21%)
HSVhsv(99, 82%, 35%)
CMYKcmyk(53.3%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.65, -30.43, 35.08)
CIE-LCHlch(33.65, 46.44, 130.94°)
OKLaboklab(41.79% -0.0844 0.0783)
OKLCHoklch(41.79% 0.115 137.2)
XYZxyz(4.7044, 7.8416, 1.7558)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A10 #40105A
analogous
#4F5A10 #2A5A10 #105A1B
triadic
#2A5A10 #102A5A #5A102A
tetradic
#2A5A10 #104F5A #40105A #5A1B10
square
#2A5A10 #104F5A #40105A #5A1B10
split-complementary
#2A5A10 #1B105A #5A104F
monochromatic
#0C1A05 #122607 #2A5A10 #428E19 #5AC222

Accessibility & contrast

On white

8.18
#2A5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5A10
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A10#FFFFFF#000000##FFFFFF
##2A5A101.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5201
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#27564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a5a10;
/* rgb */ color: rgb(42, 90, 16);
/* oklch */ color: oklch(41.8% 0.115 137.2);
Tailwind
colors: {
  custom: {
    50: '#698955',
    500: '#2a5a10',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a10;
$custom-light: #698955;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a10",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 98.919,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41791,
    "c": 0.11518,
    "h": 137.2
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#2A5A10
secondary
#713393
accent
#3BEDAE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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