#2A5511#2A5511

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

Color values

HEX#2A5511
RGBrgb(42, 85, 17)
HSLhsl(98, 67%, 20%)
HSVhsv(98, 80%, 33%)
CMYKcmyk(50.6%, 0%, 80%, 66.7%)
CIE-LABlab(31.87, -28.13, 32.95)
CIE-LCHlch(31.87, 43.32, 130.49°)
OKLaboklab(40.33% -0.0782 0.074)
OKLCHoklch(40.33% 0.108 136.6)
XYZxyz(4.3044, 7.0294, 1.6602)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5511 #3C1155
analogous
#4C5511 #2A5511 #11551A
triadic
#2A5511 #112A55 #55112A
tetradic
#2A5511 #114C55 #3C1155 #551A11
square
#2A5511 #114C55 #3C1155 #551A11
split-complementary
#2A5511 #1A1155 #55114C
monochromatic
#0D1A05 #112207 #2A5511 #43881B #5CBB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5511#FFFFFF#000000##FFFFFF
##2A55111.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)
#584D05
Deuteranopia (green-blind)
#524A18
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a5511;
/* rgb */ color: rgb(42, 85, 17);
/* oklch */ color: oklch(40.3% 0.108 136.6);
Tailwind
colors: {
  custom: {
    50: '#688554',
    500: '#2a5511',
    950: '#000000',
  },
}
SCSS
$custom: #2a5511;
$custom-light: #688554;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5511",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 97.941,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.10768,
    "h": 136.6
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#2A5511
secondary
#6D348E
accent
#3EEAAB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5511

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

Preview Lab → · Contrast checker → · Palette generator →

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