#2B310F#2B310F

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

Color values

HEX#2B310F
RGBrgb(43, 49, 15)
HSLhsl(71, 53%, 13%)
HSVhsv(71, 69%, 19%)
CMYKcmyk(12.2%, 0%, 69.4%, 80.8%)
CIE-LABlab(18.99, -8.74, 20.35)
CIE-LCHlch(18.99, 22.15, 113.26°)
OKLaboklab(29.86% -0.0253 0.0473)
OKLCHoklch(29.86% 0.054 118.2)
XYZxyz(2.1808, 2.7447, 0.8667)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B310F #150F31
analogous
#31260F #2B310F #1A310F
triadic
#2B310F #0F2B31 #310F2B
tetradic
#2B310F #0F3126 #150F31 #310F1A
square
#2B310F #0F3126 #150F31 #310F1A
split-complementary
#2B310F #0F1A31 #260F31
monochromatic
#151707 #151707 #2B310F #54601D #7D8F2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B310F#FFFFFF#000000##FFFFFF
##2B310F1.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)
#352E0B
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#2E2E2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b310f;
/* rgb */ color: rgb(43, 49, 15);
/* oklch */ color: oklch(29.9% 0.054 118.2);
Tailwind
colors: {
  custom: {
    50: '#65694f',
    500: '#2b310f',
    950: '#000000',
  },
}
SCSS
$custom: #2b310f;
$custom-light: #65694f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b310f",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 70.588,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.05363,
    "h": 118.2
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#2B310F
secondary
#3B316B
accent
#4BDD65
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B310F

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

Preview Lab → · Contrast checker → · Palette generator →

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