#2A310B#2A310B

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

Color values

HEX#2A310B
RGBrgb(42, 49, 11)
HSLhsl(71, 63%, 12%)
HSVhsv(71, 78%, 19%)
CMYKcmyk(14.3%, 0%, 77.6%, 80.8%)
CIE-LABlab(18.86, -9.64, 22.08)
CIE-LCHlch(18.86, 24.09, 113.57°)
OKLaboklab(29.72% -0.0282 0.0509)
OKLCHoklch(29.72% 0.058 119)
XYZxyz(2.1136, 2.7130, 0.7289)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A310B #120B31
analogous
#31250B #2A310B #17310B
triadic
#2A310B #0B2A31 #310B2A
tetradic
#2A310B #0B3125 #120B31 #310B17
square
#2A310B #0B3125 #120B31 #310B17
split-complementary
#2A310B #0B1731 #250B31
monochromatic
#151906 #151906 #2A310B #556316 #809521

Accessibility & contrast

On white

13.61
#2A310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A310B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A310B#FFFFFF#000000##FFFFFF
##2A310B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a310b;
/* rgb */ color: rgb(42, 49, 11);
/* oklch */ color: oklch(29.7% 0.058 119.0);
Tailwind
colors: {
  custom: {
    50: '#65694c',
    500: '#2a310b',
    950: '#000000',
  },
}
SCSS
$custom: #2a310b;
$custom-light: #65694c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a310b",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 71.053,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29717,
    "c": 0.05822,
    "h": 119
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#2A310B
secondary
#372A6E
accent
#41E660
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A310B

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

Preview Lab → · Contrast checker → · Palette generator →

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