#2A370A#2A370A

#2A370A is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.4% C 0.068 H 124.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2A370A
RGBrgb(42, 55, 10)
HSLhsl(77, 69%, 13%)
HSVhsv(77, 82%, 22%)
CMYKcmyk(23.6%, 0%, 81.8%, 78.4%)
CIE-LABlab(21.01, -13.31, 24.94)
CIE-LCHlch(21.01, 28.27, 118.10°)
OKLaboklab(31.45% -0.0385 0.0564)
OKLCHoklch(31.45% 0.068 124.3)
XYZxyz(2.3758, 3.2465, 0.7886)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A370A #170A37
analogous
#372D0A #2A370A #14370A
triadic
#2A370A #0A2A37 #370A2A
tetradic
#2A370A #0A372D #170A37 #370A14
square
#2A370A #0A372D #170A37 #370A14
split-complementary
#2A370A #0A1437 #2D0A37
monochromatic
#141A05 #141A05 #2A370A #526B13 #799F1D

Accessibility & contrast

On white

12.73
#2A370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A370A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A370A
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A370A#FFFFFF#000000##FFFFFF
##2A370A1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3304
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#2C342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a370a;
/* rgb */ color: rgb(42, 55, 10);
/* oklch */ color: oklch(31.4% 0.068 124.3);
Tailwind
colors: {
  custom: {
    50: '#656d4c',
    500: '#2a370a',
    950: '#000000',
  },
}
SCSS
$custom: #2a370a;
$custom-light: #656d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a370a",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 77.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31448,
    "c": 0.06831,
    "h": 124.3
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#2A370A
secondary
#3E2874
accent
#3CEC6F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A370A

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

Preview Lab → · Contrast checker → · Palette generator →

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