#2A5F14#2A5F14

#2A5F14 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.119 H 138.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2A5F14
RGBrgb(42, 95, 20)
HSLhsl(102, 65%, 23%)
HSVhsv(102, 79%, 37%)
CMYKcmyk(55.8%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.45, -32.29, 35.30)
CIE-LCHlch(35.45, 47.85, 132.45°)
OKLaboklab(43.28% -0.0892 0.0794)
OKLCHoklch(43.28% 0.119 138.3)
XYZxyz(5.1731, 8.7268, 2.0735)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F14 #49145F
analogous
#4F5F14 #2A5F14 #145F24
triadic
#2A5F14 #142A5F #5F142A
tetradic
#2A5F14 #144F5F #49145F #5F2414
square
#2A5F14 #144F5F #49145F #5F2414
split-complementary
#2A5F14 #24145F #5F144F
monochromatic
#0B1905 #142C09 #2A5F14 #40921F #57C429

Accessibility & contrast

On white

7.65
#2A5F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A5F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5F14
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F14#FFFFFF#000000##FFFFFF
##2A5F141.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625606
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#265B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5f14;
/* rgb */ color: rgb(42, 95, 20);
/* oklch */ color: oklch(43.3% 0.119 138.3);
Tailwind
colors: {
  custom: {
    50: '#6a8d57',
    500: '#2a5f14',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f14;
$custom-light: #6a8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f14",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 102.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.11944,
    "h": 138.3
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#2A5F14
secondary
#7B3897
accent
#40E8B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5F14

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

Preview Lab → · Contrast checker → · Palette generator →

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