#2A390B#2A390B

#2A390B is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.071 H 125.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#2A390B
RGBrgb(42, 57, 11)
HSLhsl(80, 68%, 13%)
HSVhsv(80, 81%, 22%)
CMYKcmyk(26.3%, 0%, 80.7%, 77.6%)
CIE-LABlab(21.74, -14.39, 25.31)
CIE-LCHlch(21.74, 29.11, 119.61°)
OKLaboklab(32.04% -0.0414 0.0572)
OKLCHoklch(32.04% 0.071 125.9)
XYZxyz(2.4784, 3.4426, 0.8505)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A390B #1A0B39
analogous
#39310B #2A390B #13390B
triadic
#2A390B #0B2A39 #390B2A
tetradic
#2A390B #0B3931 #1A0B39 #390B13
square
#2A390B #0B3931 #1A0B39 #390B13
split-complementary
#2A390B #0B1339 #310B39
monochromatic
#131A05 #131A05 #2A390B #506C15 #76A01F

Accessibility & contrast

On white

12.44
#2A390B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A390B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A390B#FFFFFF#000000##FFFFFF
##2A390B1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a390b;
/* rgb */ color: rgb(42, 57, 11);
/* oklch */ color: oklch(32.0% 0.071 125.9);
Tailwind
colors: {
  custom: {
    50: '#656f4d',
    500: '#2a390b',
    950: '#000000',
  },
}
SCSS
$custom: #2a390b;
$custom-light: #656f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a390b",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 11
  },
  "hsl": {
    "h": 79.565,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32041,
    "c": 0.07056,
    "h": 125.9
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#2A390B
secondary
#432A76
accent
#3DEB76
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A390B

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

Preview Lab → · Contrast checker → · Palette generator →

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