#2A5814#2A5814

#2A5814 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.110 H 137.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2A5814
RGBrgb(42, 88, 20)
HSLhsl(101, 63%, 21%)
HSVhsv(101, 77%, 35%)
CMYKcmyk(52.3%, 0%, 77.3%, 65.5%)
CIE-LABlab(32.97, -29.24, 32.80)
CIE-LCHlch(32.97, 43.94, 131.72°)
OKLaboklab(41.24% -0.0809 0.0742)
OKLCHoklch(41.24% 0.11 137.5)
XYZxyz(4.5707, 7.5219, 1.8727)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5814 #421458
analogous
#4C5814 #2A5814 #145820
triadic
#2A5814 #142A58 #58142A
tetradic
#2A5814 #144C58 #421458 #582014
square
#2A5814 #144C58 #421458 #582014
split-complementary
#2A5814 #201458 #58144C
monochromatic
#0C1906 #122609 #2A5814 #428A1F #5ABC2B

Accessibility & contrast

On white

8.39
#2A5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5814
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5814#FFFFFF#000000##FFFFFF
##2A58141.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#27554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a5814;
/* rgb */ color: rgb(42, 88, 20);
/* oklch */ color: oklch(41.2% 0.110 137.5);
Tailwind
colors: {
  custom: {
    50: '#698756',
    500: '#2a5814',
    950: '#000000',
  },
}
SCSS
$custom: #2a5814;
$custom-light: #698756;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5814",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 100.588,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.10982,
    "h": 137.5
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#2A5814
secondary
#733890
accent
#42E6B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A5814

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

Preview Lab → · Contrast checker → · Palette generator →

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