#2A5519#2A5519

#2A5519 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.102 H 138.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2A5519
RGBrgb(42, 85, 25)
HSLhsl(103, 55%, 22%)
HSVhsv(103, 71%, 33%)
CMYKcmyk(50.6%, 0%, 70.6%, 66.7%)
CIE-LABlab(31.94, -27.40, 29.44)
CIE-LCHlch(31.94, 40.22, 132.95°)
OKLaboklab(40.41% -0.0756 0.0679)
OKLCHoklch(40.41% 0.102 138.1)
XYZxyz(4.3787, 7.0591, 2.0513)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5519 #441955
analogous
#485519 #2A5519 #195526
triadic
#2A5519 #192A55 #55192A
tetradic
#2A5519 #194855 #441955 #552619
square
#2A5519 #194855 #441955 #552619
split-complementary
#2A5519 #261955 #551948
monochromatic
#0C1807 #13260B #2A5519 #418427 #59B435

Accessibility & contrast

On white

8.71
#2A5519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5519
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5519#FFFFFF#000000##FFFFFF
##2A55191.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D11
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#275249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a5519;
/* rgb */ color: rgb(42, 85, 25);
/* oklch */ color: oklch(40.4% 0.102 138.1);
Tailwind
colors: {
  custom: {
    50: '#688559',
    500: '#2a5519',
    950: '#000000',
  },
}
SCSS
$custom: #2a5519;
$custom-light: #688559;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5519",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 103,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.10158,
    "h": 138.1
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#2A5519
secondary
#763E8B
accent
#4ADEB4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5519

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

Preview Lab → · Contrast checker → · Palette generator →

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