#2A5C10#2A5C10

#2A5C10 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.4% C 0.118 H 137.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2A5C10
RGBrgb(42, 92, 16)
HSLhsl(99, 70%, 21%)
HSVhsv(99, 83%, 36%)
CMYKcmyk(54.3%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.36, -31.30, 35.76)
CIE-LCHlch(34.36, 47.53, 131.19°)
OKLaboklab(42.38% -0.0868 0.0798)
OKLCHoklch(42.38% 0.118 137.4)
XYZxyz(4.8754, 8.1836, 1.8128)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C10 #42105C
analogous
#505C10 #2A5C10 #105C1C
triadic
#2A5C10 #102A5C #5C102A
tetradic
#2A5C10 #10505C #42105C #5C1C10
square
#2A5C10 #10505C #42105C #5C1C10
split-complementary
#2A5C10 #1C105C #5C1050
monochromatic
#0C1A05 #122807 #2A5C10 #429019 #5AC422

Accessibility & contrast

On white

7.96
#2A5C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A5C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C10
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C10#FFFFFF#000000##FFFFFF
##2A5C101.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#27584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c10;
/* rgb */ color: rgb(42, 92, 16);
/* oklch */ color: oklch(42.4% 0.118 137.4);
Tailwind
colors: {
  custom: {
    50: '#6a8b55',
    500: '#2a5c10',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c10;
$custom-light: #6a8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c10",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 99.474,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.11787,
    "h": 137.4
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#2A5C10
secondary
#733395
accent
#3BEDB0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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