#2A390E#2A390E

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

Color values

HEX#2A390E
RGBrgb(42, 57, 14)
HSLhsl(81, 61%, 14%)
HSVhsv(81, 75%, 22%)
CMYKcmyk(26.3%, 0%, 75.4%, 77.6%)
CIE-LABlab(21.76, -14.13, 23.94)
CIE-LCHlch(21.76, 27.80, 120.56°)
OKLaboklab(32.07% -0.0403 0.0547)
OKLCHoklch(32.07% 0.068 126.4)
XYZxyz(2.4972, 3.4502, 0.9498)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A390E #1D0E39
analogous
#39330E #2A390E #15390E
triadic
#2A390E #0E2A39 #390E2A
tetradic
#2A390E #0E3933 #1D0E39 #390E15
square
#2A390E #0E3933 #1D0E39 #390E15
split-complementary
#2A390E #0E1539 #330E39
monochromatic
#121906 #121906 #2A390E #4E6A1A #729B26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A390E#FFFFFF#000000##FFFFFF
##2A390E1.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)
#3C3508
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#2C3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a390e;
/* rgb */ color: rgb(42, 57, 14);
/* oklch */ color: oklch(32.1% 0.068 126.4);
Tailwind
colors: {
  custom: {
    50: '#656f4f',
    500: '#2a390e',
    950: '#000000',
  },
}
SCSS
$custom: #2a390e;
$custom-light: #656f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a390e",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 14
  },
  "hsl": {
    "h": 80.93,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.06793,
    "h": 126.4
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#2A390E
secondary
#472F74
accent
#44E47C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A390E

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

Preview Lab → · Contrast checker → · Palette generator →

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