#2A5510#2A5510

#2A5510 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.108 H 136.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2A5510
RGBrgb(42, 85, 16)
HSLhsl(97, 68%, 20%)
HSVhsv(97, 81%, 33%)
CMYKcmyk(50.6%, 0%, 81.2%, 66.7%)
CIE-LABlab(31.87, -28.21, 33.34)
CIE-LCHlch(31.87, 43.67, 130.23°)
OKLaboklab(40.32% -0.0785 0.0747)
OKLCHoklch(40.32% 0.108 136.4)
XYZxyz(4.2968, 7.0264, 1.6199)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5510 #3B1055
analogous
#4D5510 #2A5510 #105518
triadic
#2A5510 #102A55 #55102A
tetradic
#2A5510 #104D55 #3B1055 #551810
square
#2A5510 #104D55 #3B1055 #551810
split-complementary
#2A5510 #181055 #55104D
monochromatic
#0D1A05 #112106 #2A5510 #43891A #5DBC23

Accessibility & contrast

On white

8.73
#2A5510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A5510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5510
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5510#FFFFFF#000000##FFFFFF
##2A55101.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D03
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a5510;
/* rgb */ color: rgb(42, 85, 16);
/* oklch */ color: oklch(40.3% 0.108 136.4);
Tailwind
colors: {
  custom: {
    50: '#688554',
    500: '#2a5510',
    950: '#000000',
  },
}
SCSS
$custom: #2a5510;
$custom-light: #688554;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5510",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 97.391,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40324,
    "c": 0.10833,
    "h": 136.4
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#2A5510
secondary
#6C328F
accent
#3DEBA9
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5510

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

Preview Lab → · Contrast checker → · Palette generator →

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