#2B3A03#2B3A03

#2B3A03 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.078 H 124.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2B3A03
RGBrgb(43, 58, 3)
HSLhsl(76, 90%, 12%)
HSVhsv(76, 95%, 23%)
CMYKcmyk(25.9%, 0%, 94.8%, 77.3%)
CIE-LABlab(22.11, -15.06, 29.00)
CIE-LCHlch(22.11, 32.68, 117.45°)
OKLaboklab(32.35% -0.0442 0.0642)
OKLCHoklch(32.35% 0.078 124.6)
XYZxyz(2.5258, 3.5462, 0.6376)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A03 #12033A
analogous
#3A2E03 #2B3A03 #0F3A03
triadic
#2B3A03 #032B3A #3A032B
tetradic
#2B3A03 #033A2E #12033A #3A030F
square
#2B3A03 #033A2E #12033A #3A030F
split-complementary
#2B3A03 #030F3A #2E033A
monochromatic
#161D02 #161D02 #2B3A03 #567406 #81AE09

Accessibility & contrast

On white

12.29
#2B3A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B3A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A03
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A03#FFFFFF#000000##FFFFFF
##2B3A031.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3C3508
Tritanopia (blue-blind)
#2E3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a03;
/* rgb */ color: rgb(43, 58, 3);
/* oklch */ color: oklch(32.3% 0.078 124.6);
Tailwind
colors: {
  custom: {
    50: '#677049',
    500: '#2b3a03',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a03;
$custom-light: #677049;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a03",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 76.364,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32345,
    "c": 0.0779,
    "h": 124.6
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#2B3A03
secondary
#361C7D
accent
#29FF63
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A03

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

Preview Lab → · Contrast checker → · Palette generator →

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