#2B350B#2B350B

#2B350B is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.064 H 121.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2B350B
RGBrgb(43, 53, 11)
HSLhsl(74, 66%, 13%)
HSVhsv(74, 79%, 21%)
CMYKcmyk(18.9%, 0%, 79.2%, 79.2%)
CIE-LABlab(20.38, -11.55, 23.85)
CIE-LCHlch(20.38, 26.50, 115.85°)
OKLaboklab(30.96% -0.0336 0.0543)
OKLCHoklch(30.96% 0.064 121.8)
XYZxyz(2.3298, 3.0840, 0.7891)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B350B #150B35
analogous
#352A0B #2B350B #16350B
triadic
#2B350B #0B2B35 #350B2B
tetradic
#2B350B #0B352A #150B35 #350B16
square
#2B350B #0B352A #150B35 #350B16
split-complementary
#2B350B #0B1635 #2A0B35
monochromatic
#151905 #151905 #2B350B #546816 #7D9A20

Accessibility & contrast

On white

12.99
#2B350B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B350B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B350B
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B350B#FFFFFF#000000##FFFFFF
##2B350B1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393106
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#2E322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b350b;
/* rgb */ color: rgb(43, 53, 11);
/* oklch */ color: oklch(31.0% 0.064 121.8);
Tailwind
colors: {
  custom: {
    50: '#666c4d',
    500: '#2b350b',
    950: '#000000',
  },
}
SCSS
$custom: #2b350b;
$custom-light: #666c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b350b",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 11
  },
  "hsl": {
    "h": 74.286,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30964,
    "c": 0.06385,
    "h": 121.8
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#2B350B
secondary
#3B2A72
accent
#3FE968
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B350B

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

Preview Lab → · Contrast checker → · Palette generator →

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