#2A310A#2A310A

#2A310A is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.059 H 118.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#2A310A
RGBrgb(42, 49, 10)
HSLhsl(71, 66%, 12%)
HSVhsv(71, 80%, 19%)
CMYKcmyk(14.3%, 0%, 79.6%, 80.8%)
CIE-LABlab(18.85, -9.72, 22.49)
CIE-LCHlch(18.85, 24.50, 113.37°)
OKLaboklab(29.71% -0.0286 0.0518)
OKLCHoklch(29.71% 0.059 118.9)
XYZxyz(2.1080, 2.7108, 0.6993)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A310A #110A31
analogous
#31250A #2A310A #17310A
triadic
#2A310A #0A2A31 #310A2A
tetradic
#2A310A #0A3125 #110A31 #310A17
square
#2A310A #0A3125 #110A31 #310A17
split-complementary
#2A310A #0A1731 #250A31
monochromatic
#161905 #161905 #2A310A #566414 #81971F

Accessibility & contrast

On white

13.62
#2A310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2A310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A310A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A310A#FFFFFF#000000##FFFFFF
##2A310A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#2D2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a310a;
/* rgb */ color: rgb(42, 49, 10);
/* oklch */ color: oklch(29.7% 0.059 118.9);
Tailwind
colors: {
  custom: {
    50: '#65694c',
    500: '#2a310a',
    950: '#000000',
  },
}
SCSS
$custom: #2a310a;
$custom-light: #65694c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a310a",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 70.769,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29706,
    "c": 0.05915,
    "h": 118.9
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#2A310A
secondary
#35296E
accent
#3FE95D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A310A

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

Preview Lab → · Contrast checker → · Palette generator →

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