#2A390A#2A390A

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

Color values

HEX#2A390A
RGBrgb(42, 57, 10)
HSLhsl(79, 70%, 13%)
HSVhsv(79, 82%, 22%)
CMYKcmyk(26.3%, 0%, 82.5%, 77.6%)
CIE-LABlab(21.73, -14.46, 25.72)
CIE-LCHlch(21.73, 29.51, 119.35°)
OKLaboklab(32.03% -0.0417 0.0579)
OKLCHoklch(32.03% 0.071 125.7)
XYZxyz(2.4728, 3.4404, 0.8209)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A390A #190A39
analogous
#39300A #2A390A #12390A
triadic
#2A390A #0A2A39 #390A2A
tetradic
#2A390A #0A3930 #190A39 #390A12
square
#2A390A #0A3930 #190A39 #390A12
split-complementary
#2A390A #0A1239 #300A39
monochromatic
#131A05 #131A05 #2A390A #506D13 #77A11C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A390A#FFFFFF#000000##FFFFFF
##2A390A1.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)
#3D3504
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#2C3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a390a;
/* rgb */ color: rgb(42, 57, 10);
/* oklch */ color: oklch(32.0% 0.071 125.7);
Tailwind
colors: {
  custom: {
    50: '#656f4d',
    500: '#2a390a',
    950: '#000000',
  },
}
SCSS
$custom: #2a390a;
$custom-light: #656f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a390a",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 10
  },
  "hsl": {
    "h": 79.149,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32032,
    "c": 0.07137,
    "h": 125.7
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#2A390A
secondary
#412876
accent
#3BED74
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A390A

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

Preview Lab → · Contrast checker → · Palette generator →

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