#2A4514#2A4514

#2A4514 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.081 H 133.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2A4514
RGBrgb(42, 69, 20)
HSLhsl(93, 55%, 17%)
HSVhsv(93, 71%, 27%)
CMYKcmyk(39.1%, 0%, 71%, 72.9%)
CIE-LABlab(26.15, -20.09, 25.61)
CIE-LCHlch(26.15, 32.55, 128.11°)
OKLaboklab(35.66% -0.0561 0.0591)
OKLCHoklch(35.66% 0.081 133.5)
XYZxyz(3.2092, 4.7989, 1.4189)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4514 #2F1445
analogous
#434514 #2A4514 #144516
triadic
#2A4514 #142A45 #45142A
tetradic
#2A4514 #144345 #2F1445 #451614
square
#2A4514 #144345 #2F1445 #451614
split-complementary
#2A4514 #161445 #451443
monochromatic
#0E1807 #0E1807 #2A4514 #477422 #64A430

Accessibility & contrast

On white

10.72
#2A4514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A4514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4514
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4514#FFFFFF#000000##FFFFFF
##2A45141.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0E
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#2A423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4514;
/* rgb */ color: rgb(42, 69, 20);
/* oklch */ color: oklch(35.7% 0.081 133.5);
Tailwind
colors: {
  custom: {
    50: '#667954',
    500: '#2a4514',
    950: '#000000',
  },
}
SCSS
$custom: #2a4514;
$custom-light: #667954;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4514",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 20
  },
  "hsl": {
    "h": 93.061,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35659,
    "c": 0.08149,
    "h": 133.5
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

primary
#2A4514
secondary
#5E387D
accent
#49DE9C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4514

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

Preview Lab → · Contrast checker → · Palette generator →

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