#2A4913#2A4913

#2A4913 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.089 H 134.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2A4913
RGBrgb(42, 73, 19)
HSLhsl(94, 59%, 18%)
HSVhsv(94, 74%, 29%)
CMYKcmyk(42.5%, 0%, 74%, 71.4%)
CIE-LABlab(27.58, -22.24, 27.66)
CIE-LCHlch(27.58, 35.49, 128.80°)
OKLaboklab(36.82% -0.062 0.0633)
OKLCHoklch(36.82% 0.089 134.4)
XYZxyz(3.4549, 5.3042, 1.4577)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4913 #321349
analogous
#454913 #2A4913 #134917
triadic
#2A4913 #132A49 #49132A
tetradic
#2A4913 #134549 #321349 #491713
square
#2A4913 #134549 #321349 #491713
split-complementary
#2A4913 #171349 #491345
monochromatic
#0E1806 #0E1806 #2A4913 #467A20 #62AA2C

Accessibility & contrast

On white

10.19
#2A4913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A4913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4913
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4913#FFFFFF#000000##FFFFFF
##2A49131.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430C
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#2A463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a4913;
/* rgb */ color: rgb(42, 73, 19);
/* oklch */ color: oklch(36.8% 0.089 134.4);
Tailwind
colors: {
  custom: {
    50: '#667c54',
    500: '#2a4913',
    950: '#000000',
  },
}
SCSS
$custom: #2a4913;
$custom-light: #667c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4913",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 94.444,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.08861,
    "h": 134.4
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#2A4913
secondary
#613682
accent
#46E29F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4913

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

Preview Lab → · Contrast checker → · Palette generator →

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