#2A5B10#2A5B10

#2A5B10 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.117 H 137.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2A5B10
RGBrgb(42, 91, 16)
HSLhsl(99, 70%, 21%)
HSVhsv(99, 82%, 36%)
CMYKcmyk(53.8%, 0%, 82.4%, 64.3%)
CIE-LABlab(34.01, -30.87, 35.42)
CIE-LCHlch(34.01, 46.98, 131.07°)
OKLaboklab(42.08% -0.0856 0.079)
OKLCHoklch(42.08% 0.117 137.3)
XYZxyz(4.7893, 8.0115, 1.7841)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B10 #41105B
analogous
#4F5B10 #2A5B10 #105B1B
triadic
#2A5B10 #102A5B #5B102A
tetradic
#2A5B10 #104F5B #41105B #5B1B10
square
#2A5B10 #104F5B #41105B #5B1B10
split-complementary
#2A5B10 #1B105B #5B104F
monochromatic
#0C1A05 #122707 #2A5B10 #428F19 #5AC322

Accessibility & contrast

On white

8.07
#2A5B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A5B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B10
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B10#FFFFFF#000000##FFFFFF
##2A5B101.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5201
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#27574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5b10;
/* rgb */ color: rgb(42, 91, 16);
/* oklch */ color: oklch(42.1% 0.117 137.3);
Tailwind
colors: {
  custom: {
    50: '#698a55',
    500: '#2a5b10',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b10;
$custom-light: #698a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b10",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 99.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.11653,
    "h": 137.3
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#2A5B10
secondary
#723394
accent
#3BEDAF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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