#2A5610#2A5610

#2A5610 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.6% C 0.110 H 136.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A5610
RGBrgb(42, 86, 16)
HSLhsl(98, 69%, 20%)
HSVhsv(98, 81%, 34%)
CMYKcmyk(51.2%, 0%, 81.4%, 66.3%)
CIE-LABlab(32.22, -28.66, 33.69)
CIE-LCHlch(32.22, 44.23, 130.39°)
OKLaboklab(40.62% -0.0797 0.0754)
OKLCHoklch(40.62% 0.11 136.6)
XYZxyz(4.3760, 7.1849, 1.6464)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5610 #3C1056
analogous
#4D5610 #2A5610 #105619
triadic
#2A5610 #102A56 #56102A
tetradic
#2A5610 #104D56 #3C1056 #561910
square
#2A5610 #104D56 #3C1056 #561910
split-complementary
#2A5610 #191056 #56104D
monochromatic
#0D1A05 #112206 #2A5610 #438A1A #5CBD23

Accessibility & contrast

On white

8.62
#2A5610 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A5610 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5610
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5610#FFFFFF#000000##FFFFFF
##2A56101.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E03
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#285349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a5610;
/* rgb */ color: rgb(42, 86, 16);
/* oklch */ color: oklch(40.6% 0.110 136.6);
Tailwind
colors: {
  custom: {
    50: '#698654',
    500: '#2a5610',
    950: '#000000',
  },
}
SCSS
$custom: #2a5610;
$custom-light: #698654;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5610",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 16
  },
  "hsl": {
    "h": 97.714,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.40618,
    "c": 0.10971,
    "h": 136.6
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#2A5610
secondary
#6D328F
accent
#3CEBAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A5610

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

Preview Lab → · Contrast checker → · Palette generator →

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