#2A390D#2A390D

#2A390D is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.069 H 126.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2A390D
RGBrgb(42, 57, 13)
HSLhsl(80, 63%, 14%)
HSVhsv(80, 77%, 22%)
CMYKcmyk(26.3%, 0%, 77.2%, 77.6%)
CIE-LABlab(21.75, -14.22, 24.42)
CIE-LCHlch(21.75, 28.26, 120.21°)
OKLaboklab(32.06% -0.0407 0.0555)
OKLCHoklch(32.06% 0.069 126.2)
XYZxyz(2.4906, 3.4475, 0.9149)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A390D #1C0D39
analogous
#39320D #2A390D #14390D
triadic
#2A390D #0D2A39 #390D2A
tetradic
#2A390D #0D3932 #1C0D39 #390D14
square
#2A390D #0D3932 #1C0D39 #390D14
split-complementary
#2A390D #0D1439 #320D39
monochromatic
#121906 #121906 #2A390D #4F6B18 #739D24

Accessibility & contrast

On white

12.43
#2A390D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A390D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A390D#FFFFFF#000000##FFFFFF
##2A390D1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3507
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#2C3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a390d;
/* rgb */ color: rgb(42, 57, 13);
/* oklch */ color: oklch(32.1% 0.069 126.2);
Tailwind
colors: {
  custom: {
    50: '#656f4e',
    500: '#2a390d',
    950: '#000000',
  },
}
SCSS
$custom: #2a390d;
$custom-light: #656f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a390d",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 13
  },
  "hsl": {
    "h": 80.455,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.06885,
    "h": 126.2
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#2A390D
secondary
#462D74
accent
#42E67A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A390D

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

Preview Lab → · Contrast checker → · Palette generator →

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