#2B3202#2B3202

#2B3202 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.068 H 118.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#2B3202
RGBrgb(43, 50, 2)
HSLhsl(69, 92%, 10%)
HSVhsv(69, 96%, 20%)
CMYKcmyk(14%, 0%, 96%, 80.4%)
CIE-LABlab(19.22, -10.45, 26.21)
CIE-LCHlch(19.22, 28.22, 111.75°)
OKLaboklab(30.01% -0.0318 0.0598)
OKLCHoklch(30.01% 0.068 118)
XYZxyz(2.1479, 2.7992, 0.4846)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3202 #090232
analogous
#322102 #2B3202 #133202
triadic
#2B3202 #022B32 #32022B
tetradic
#2B3202 #023221 #090232 #320213
square
#2B3202 #023221 #090232 #320213
split-complementary
#2B3202 #021332 #210232
monochromatic
#191D01 #191D01 #2B3202 #5E6D04 #90A807

Accessibility & contrast

On white

13.46
#2B3202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2B3202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3202
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3202#FFFFFF#000000##FFFFFF
##2B32021.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#352F06
Tritanopia (blue-blind)
#2E2F29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b3202;
/* rgb */ color: rgb(43, 50, 2);
/* oklch */ color: oklch(30.0% 0.068 118.0);
Tailwind
colors: {
  custom: {
    50: '#666948',
    500: '#2b3202',
    950: '#000000',
  },
}
SCSS
$custom: #2b3202;
$custom-light: #666948;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3202",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 68.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30007,
    "c": 0.06771,
    "h": 118
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#2B3202
secondary
#271976
accent
#29FF48
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2B3202

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

Preview Lab → · Contrast checker → · Palette generator →

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