#2A310E#2A310E

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

Color values

HEX#2A310E
RGBrgb(42, 49, 14)
HSLhsl(72, 56%, 12%)
HSVhsv(72, 71%, 19%)
CMYKcmyk(14.3%, 0%, 71.4%, 80.8%)
CIE-LABlab(18.89, -9.36, 20.72)
CIE-LCHlch(18.89, 22.74, 114.31°)
OKLaboklab(29.75% -0.0271 0.0481)
OKLCHoklch(29.75% 0.055 119.4)
XYZxyz(2.1325, 2.7206, 0.8282)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A310E #150E31
analogous
#31270E #2A310E #19310E
triadic
#2A310E #0E2A31 #310E2A
tetradic
#2A310E #0E3127 #150E31 #310E19
square
#2A310E #0E3127 #150E31 #310E19
split-complementary
#2A310E #0E1931 #270E31
monochromatic
#141807 #141807 #2A310E #53611C #7C9029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A310E#FFFFFF#000000##FFFFFF
##2A310E1.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)
#342E0A
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#2D2E2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a310e;
/* rgb */ color: rgb(42, 49, 14);
/* oklch */ color: oklch(29.8% 0.055 119.4);
Tailwind
colors: {
  custom: {
    50: '#65694e',
    500: '#2a310e',
    950: '#000000',
  },
}
SCSS
$custom: #2a310e;
$custom-light: #65694e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a310e",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 72,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29754,
    "c": 0.05517,
    "h": 119.4
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#2A310E
secondary
#3B2F6C
accent
#49DF67
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A310E

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

Preview Lab → · Contrast checker → · Palette generator →

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