#2A4F14#2A4F14

#2A4F14 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.097 H 136.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2A4F14
RGBrgb(42, 79, 20)
HSLhsl(98, 60%, 19%)
HSVhsv(98, 75%, 31%)
CMYKcmyk(46.8%, 0%, 74.7%, 69%)
CIE-LABlab(29.75, -25.08, 29.47)
CIE-LCHlch(29.75, 38.70, 130.40°)
OKLaboklab(38.6% -0.0697 0.0672)
OKLCHoklch(38.6% 0.097 136)
XYZxyz(3.8770, 6.1345, 1.6415)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F14 #39144F
analogous
#484F14 #2A4F14 #144F1C
triadic
#2A4F14 #142A4F #4F142A
tetradic
#2A4F14 #14484F #39144F #4F1C14
square
#2A4F14 #14484F #39144F #4F1C14
split-complementary
#2A4F14 #1C144F #4F1448
monochromatic
#0D1806 #101E08 #2A4F14 #448020 #5EB12D

Accessibility & contrast

On white

9.43
#2A4F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A4F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F14
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F14#FFFFFF#000000##FFFFFF
##2A4F141.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480B
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#294C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4f14;
/* rgb */ color: rgb(42, 79, 20);
/* oklch */ color: oklch(38.6% 0.097 136.0);
Tailwind
colors: {
  custom: {
    50: '#678055',
    500: '#2a4f14',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f14;
$custom-light: #678055;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f14",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 97.627,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.09683,
    "h": 136
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#2A4F14
secondary
#6A3887
accent
#45E3A8
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4F14

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

Preview Lab → · Contrast checker → · Palette generator →

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