#2B310E#2B310E

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

Color values

HEX#2B310E
RGBrgb(43, 49, 14)
HSLhsl(70, 56%, 12%)
HSVhsv(70, 71%, 19%)
CMYKcmyk(12.2%, 0%, 71.4%, 80.8%)
CIE-LABlab(18.98, -8.84, 20.85)
CIE-LCHlch(18.98, 22.65, 112.98°)
OKLaboklab(29.85% -0.0257 0.0483)
OKLCHoklch(29.85% 0.055 118)
XYZxyz(2.1739, 2.7419, 0.8301)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B310E #140E31
analogous
#31260E #2B310E #19310E
triadic
#2B310E #0E2B31 #310E2B
tetradic
#2B310E #0E3126 #140E31 #310E19
square
#2B310E #0E3126 #140E31 #310E19
split-complementary
#2B310E #0E1931 #260E31
monochromatic
#151807 #151807 #2B310E #55611C #7F9029

Accessibility & contrast

On white

13.56
#2B310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2B310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B310E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B310E#FFFFFF#000000##FFFFFF
##2B310E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0A
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#2E2E2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b310e;
/* rgb */ color: rgb(43, 49, 14);
/* oklch */ color: oklch(29.8% 0.055 118.0);
Tailwind
colors: {
  custom: {
    50: '#65694e',
    500: '#2b310e',
    950: '#000000',
  },
}
SCSS
$custom: #2b310e;
$custom-light: #65694e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b310e",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 70.286,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2985,
    "c": 0.05472,
    "h": 118
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#2B310E
secondary
#3A2F6C
accent
#49DF63
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B310E

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

Preview Lab → · Contrast checker → · Palette generator →

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