#2A310D#2A310D

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

Color values

HEX#2A310D
RGBrgb(42, 49, 13)
HSLhsl(72, 58%, 12%)
HSVhsv(72, 73%, 19%)
CMYKcmyk(14.3%, 0%, 73.5%, 80.8%)
CIE-LABlab(18.88, -9.46, 21.20)
CIE-LCHlch(18.88, 23.21, 114.04°)
OKLaboklab(29.74% -0.0275 0.049)
OKLCHoklch(29.74% 0.056 119.3)
XYZxyz(2.1258, 2.7179, 0.7933)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A310D #140D31
analogous
#31260D #2A310D #18310D
triadic
#2A310D #0D2A31 #310D2A
tetradic
#2A310D #0D3126 #140D31 #310D18
square
#2A310D #0D3126 #140D31 #310D18
split-complementary
#2A310D #0D1831 #260D31
monochromatic
#151806 #151806 #2A310D #53611A #7D9227

Accessibility & contrast

On white

13.60
#2A310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A310D
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A310D#FFFFFF#000000##FFFFFF
##2A310D1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a310d;
/* rgb */ color: rgb(42, 49, 13);
/* oklch */ color: oklch(29.7% 0.056 119.3);
Tailwind
colors: {
  custom: {
    50: '#65694d',
    500: '#2a310d',
    950: '#000000',
  },
}
SCSS
$custom: #2a310d;
$custom-light: #65694d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a310d",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 71.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29741,
    "c": 0.05622,
    "h": 119.3
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#2A310D
secondary
#3A2E6C
accent
#47E165
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A310D

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

Preview Lab → · Contrast checker → · Palette generator →

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