#2A3A14#2A3A14

#2A3A14 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.063 H 128.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2A3A14
RGBrgb(42, 58, 20)
HSLhsl(85, 49%, 15%)
HSVhsv(85, 66%, 23%)
CMYKcmyk(27.6%, 0%, 65.5%, 77.3%)
CIE-LABlab(22.19, -14.08, 21.17)
CIE-LCHlch(22.19, 25.42, 123.62°)
OKLaboklab(32.44% -0.0395 0.0496)
OKLCHoklch(32.44% 0.063 128.5)
XYZxyz(2.5942, 3.5688, 1.2139)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A14 #24143A
analogous
#3A3714 #2A3A14 #173A14
triadic
#2A3A14 #142A3A #3A142A
tetradic
#2A3A14 #143A37 #24143A #3A1417
square
#2A3A14 #143A37 #24143A #3A1417
split-complementary
#2A3A14 #14173A #37143A
monochromatic
#101708 #101708 #2A3A14 #4B6824 #6C9533

Accessibility & contrast

On white

12.25
#2A3A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A3A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A14
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A14#FFFFFF#000000##FFFFFF
##2A3A141.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3610
Deuteranopia (green-blind)
#3B3517
Tritanopia (blue-blind)
#2B3732
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a14;
/* rgb */ color: rgb(42, 58, 20);
/* oklch */ color: oklch(32.4% 0.063 128.5);
Tailwind
colors: {
  custom: {
    50: '#657053',
    500: '#2a3a14',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a14;
$custom-light: #657053;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a14",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 20
  },
  "hsl": {
    "h": 85.263,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32441,
    "c": 0.06345,
    "h": 128.5
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#2A3A14
secondary
#503872
accent
#50D889
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #2A3A14

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

Preview Lab → · Contrast checker → · Palette generator →

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