#2A5C14#2A5C14

#2A5C14 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.115 H 138.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2A5C14
RGBrgb(42, 92, 20)
HSLhsl(102, 64%, 22%)
HSVhsv(102, 78%, 36%)
CMYKcmyk(54.3%, 0%, 78.3%, 63.9%)
CIE-LABlab(34.39, -31.00, 34.24)
CIE-LCHlch(34.39, 46.19, 132.16°)
OKLaboklab(42.41% -0.0857 0.0772)
OKLCHoklch(42.41% 0.115 138)
XYZxyz(4.9081, 8.1967, 1.9852)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C14 #46145C
analogous
#4E5C14 #2A5C14 #145C22
triadic
#2A5C14 #142A5C #5C142A
tetradic
#2A5C14 #144E5C #46145C #5C2214
square
#2A5C14 #144E5C #46145C #5C2214
split-complementary
#2A5C14 #22145C #5C144E
monochromatic
#0B1905 #132A09 #2A5C14 #418E1F #58C12A

Accessibility & contrast

On white

7.96
#2A5C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A5C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C14
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C14#FFFFFF#000000##FFFFFF
##2A5C141.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5307
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#26594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c14;
/* rgb */ color: rgb(42, 92, 20);
/* oklch */ color: oklch(42.4% 0.115 138.0);
Tailwind
colors: {
  custom: {
    50: '#698b57',
    500: '#2a5c14',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c14;
$custom-light: #698b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c14",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 101.667,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42407,
    "c": 0.11536,
    "h": 138
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#2A5C14
secondary
#783894
accent
#41E7B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5C14

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

Preview Lab → · Contrast checker → · Palette generator →

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