#2B3402#2B3402

#2B3402 is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.070 H 119.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2B3402
RGBrgb(43, 52, 2)
HSLhsl(71, 93%, 11%)
HSVhsv(71, 96%, 20%)
CMYKcmyk(17.3%, 0%, 96.2%, 79.6%)
CIE-LABlab(19.94, -11.66, 27.03)
CIE-LCHlch(19.94, 29.44, 113.33°)
OKLaboklab(30.59% -0.0351 0.0611)
OKLCHoklch(30.59% 0.07 119.9)
XYZxyz(2.2353, 2.9740, 0.5137)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3402 #0B0234
analogous
#342402 #2B3402 #123402
triadic
#2B3402 #022B34 #34022B
tetradic
#2B3402 #023424 #0B0234 #340212
square
#2B3402 #023424 #0B0234 #340212
split-complementary
#2B3402 #021234 #240234
monochromatic
#181D01 #181D01 #2B3402 #5C6F04 #8CAA07

Accessibility & contrast

On white

13.17
#2B3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2B3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3402
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3402#FFFFFF#000000##FFFFFF
##2B34021.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#2E312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b3402;
/* rgb */ color: rgb(43, 52, 2);
/* oklch */ color: oklch(30.6% 0.070 119.9);
Tailwind
colors: {
  custom: {
    50: '#666b48',
    500: '#2b3402',
    950: '#000000',
  },
}
SCSS
$custom: #2b3402;
$custom-light: #666b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3402",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 70.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30586,
    "c": 0.07043,
    "h": 119.9
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#2B3402
secondary
#2B1A78
accent
#29FF4F
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3402

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

Preview Lab → · Contrast checker → · Palette generator →

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