#2A390C#2A390C

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

Color values

HEX#2A390C
RGBrgb(42, 57, 12)
HSLhsl(80, 65%, 14%)
HSVhsv(80, 79%, 22%)
CMYKcmyk(26.3%, 0%, 78.9%, 77.6%)
CIE-LABlab(21.74, -14.31, 24.88)
CIE-LCHlch(21.74, 28.70, 119.90°)
OKLaboklab(32.05% -0.041 0.0564)
OKLCHoklch(32.05% 0.07 126.1)
XYZxyz(2.4843, 3.4450, 0.8818)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A390C #1B0C39
analogous
#39310C #2A390C #13390C
triadic
#2A390C #0C2A39 #390C2A
tetradic
#2A390C #0C3931 #1B0C39 #390C13
square
#2A390C #0C3931 #1B0C39 #390C13
split-complementary
#2A390C #0C1339 #310C39
monochromatic
#131905 #131905 #2A390C #4F6C17 #759E21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A390C#FFFFFF#000000##FFFFFF
##2A390C1.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)
#3C3506
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#2C3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a390c;
/* rgb */ color: rgb(42, 57, 12);
/* oklch */ color: oklch(32.1% 0.070 126.1);
Tailwind
colors: {
  custom: {
    50: '#656f4e',
    500: '#2a390c',
    950: '#000000',
  },
}
SCSS
$custom: #2a390c;
$custom-light: #656f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a390c",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 80,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32051,
    "c": 0.06972,
    "h": 126.1
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#2A390C
secondary
#442C75
accent
#40E878
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A390C

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

Preview Lab → · Contrast checker → · Palette generator →

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