#2A3913#2A3913

#2A3913 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.063 H 127.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2A3913
RGBrgb(42, 57, 19)
HSLhsl(84, 50%, 15%)
HSVhsv(84, 67%, 22%)
CMYKcmyk(26.3%, 0%, 66.7%, 77.6%)
CIE-LABlab(21.82, -13.62, 21.31)
CIE-LCHlch(21.82, 25.29, 122.58°)
OKLaboklab(32.14% -0.0384 0.0498)
OKLCHoklch(32.14% 0.063 127.6)
XYZxyz(2.5355, 3.4655, 1.1513)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3913 #221339
analogous
#393513 #2A3913 #173913
triadic
#2A3913 #132A39 #39132A
tetradic
#2A3913 #133935 #221339 #391317
square
#2A3913 #133935 #221339 #391317
split-complementary
#2A3913 #131739 #351339
monochromatic
#111708 #111708 #2A3913 #4C6722 #6E9532

Accessibility & contrast

On white

12.40
#2A3913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2A3913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3913
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3913#FFFFFF#000000##FFFFFF
##2A39131.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#2C3631
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a3913;
/* rgb */ color: rgb(42, 57, 19);
/* oklch */ color: oklch(32.1% 0.063 127.6);
Tailwind
colors: {
  custom: {
    50: '#656f52',
    500: '#2a3913',
    950: '#000000',
  },
}
SCSS
$custom: #2a3913;
$custom-light: #656f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3913",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 19
  },
  "hsl": {
    "h": 83.684,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32136,
    "c": 0.06286,
    "h": 127.6
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#2A3913
secondary
#4E3771
accent
#4EDA85
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #2A3913

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

Preview Lab → · Contrast checker → · Palette generator →

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