#2A3813#2A3813

#2A3813 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.061 H 126.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#2A3813
RGBrgb(42, 56, 19)
HSLhsl(83, 49%, 15%)
HSVhsv(83, 66%, 22%)
CMYKcmyk(25%, 0%, 66.1%, 78%)
CIE-LABlab(21.46, -13.03, 20.90)
CIE-LCHlch(21.46, 24.63, 121.95°)
OKLaboklab(31.85% -0.0367 0.0489)
OKLCHoklch(31.85% 0.061 126.9)
XYZxyz(2.4866, 3.3676, 1.1350)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3813 #211338
analogous
#383413 #2A3813 #183813
triadic
#2A3813 #132A38 #38132A
tetradic
#2A3813 #133834 #211338 #381318
square
#2A3813 #133834 #211338 #381318
split-complementary
#2A3813 #131838 #341338
monochromatic
#111708 #111708 #2A3813 #4C6623 #6F9332

Accessibility & contrast

On white

12.55
#2A3813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A3813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3813
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3813#FFFFFF#000000##FFFFFF
##2A38131.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#2C3530
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a3813;
/* rgb */ color: rgb(42, 56, 19);
/* oklch */ color: oklch(31.8% 0.061 126.9);
Tailwind
colors: {
  custom: {
    50: '#656e52',
    500: '#2a3813',
    950: '#000000',
  },
}
SCSS
$custom: #2a3813;
$custom-light: #656e52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3813",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 19
  },
  "hsl": {
    "h": 82.703,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31845,
    "c": 0.06118,
    "h": 126.9
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#2A3813
secondary
#4C3770
accent
#4FD983
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #2A3813

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

Preview Lab → · Contrast checker → · Palette generator →

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