#2A4D14#2A4D14

#2A4D14 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.094 H 135.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2A4D14
RGBrgb(42, 77, 20)
HSLhsl(97, 59%, 19%)
HSVhsv(97, 74%, 30%)
CMYKcmyk(45.5%, 0%, 74%, 69.8%)
CIE-LABlab(29.03, -24.11, 28.71)
CIE-LCHlch(29.03, 37.50, 130.02°)
OKLaboklab(38.01% -0.0671 0.0656)
OKLCHoklch(38.01% 0.094 135.6)
XYZxyz(3.7349, 5.8503, 1.5941)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D14 #37144D
analogous
#474D14 #2A4D14 #144D1B
triadic
#2A4D14 #142A4D #4D142A
tetradic
#2A4D14 #14474D #37144D #4D1B14
square
#2A4D14 #14474D #37144D #4D1B14
split-complementary
#2A4D14 #1B144D #4D1447
monochromatic
#0D1806 #101C07 #2A4D14 #447E21 #5FAE2D

Accessibility & contrast

On white

9.68
#2A4D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D14
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D14#FFFFFF#000000##FFFFFF
##2A4D141.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460C
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#294A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4d14;
/* rgb */ color: rgb(42, 77, 20);
/* oklch */ color: oklch(38.0% 0.094 135.6);
Tailwind
colors: {
  custom: {
    50: '#677f55',
    500: '#2a4d14',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d14;
$custom-light: #677f55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d14",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 96.842,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3801,
    "c": 0.09384,
    "h": 135.6
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#2A4D14
secondary
#673885
accent
#46E2A6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4D14

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

Preview Lab → · Contrast checker → · Palette generator →

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