#2A390F#2A390F

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

Color values

HEX#2A390F
RGBrgb(42, 57, 15)
HSLhsl(81, 58%, 14%)
HSVhsv(81, 74%, 22%)
CMYKcmyk(26.3%, 0%, 73.7%, 77.6%)
CIE-LABlab(21.77, -14.04, 23.43)
CIE-LCHlch(21.77, 27.32, 120.92°)
OKLaboklab(32.08% -0.04 0.0538)
OKLCHoklch(32.08% 0.067 126.6)
XYZxyz(2.5042, 3.4529, 0.9864)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A390F #1E0F39
analogous
#39330F #2A390F #15390F
triadic
#2A390F #0F2A39 #390F2A
tetradic
#2A390F #0F3933 #1E0F39 #390F15
square
#2A390F #0F3933 #1E0F39 #390F15
split-complementary
#2A390F #0F1539 #330F39
monochromatic
#121806 #121806 #2A390F #4E691C #719A29

Accessibility & contrast

On white

12.42
#2A390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A390F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A390F#FFFFFF#000000##FFFFFF
##2A390F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a390f;
/* rgb */ color: rgb(42, 57, 15);
/* oklch */ color: oklch(32.1% 0.067 126.6);
Tailwind
colors: {
  custom: {
    50: '#656f4f',
    500: '#2a390f',
    950: '#000000',
  },
}
SCSS
$custom: #2a390f;
$custom-light: #656f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a390f",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 81.429,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32084,
    "c": 0.06698,
    "h": 126.6
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#2A390F
secondary
#483073
accent
#46E27E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A390F

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

Preview Lab → · Contrast checker → · Palette generator →

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