#2B3803#2B3803

#2B3803 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.8% C 0.075 H 123.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2B3803
RGBrgb(43, 56, 3)
HSLhsl(75, 90%, 12%)
HSVhsv(75, 95%, 22%)
CMYKcmyk(23.2%, 0%, 94.6%, 78%)
CIE-LABlab(21.39, -13.92, 28.23)
CIE-LCHlch(21.39, 31.48, 116.26°)
OKLaboklab(31.76% -0.0411 0.0628)
OKLCHoklch(31.76% 0.075 123.2)
XYZxyz(2.4269, 3.3485, 0.6046)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3803 #100338
analogous
#382B03 #2B3803 #113803
triadic
#2B3803 #032B38 #38032B
tetradic
#2B3803 #03382B #100338 #380311
square
#2B3803 #03382B #100338 #380311
split-complementary
#2B3803 #031138 #2B0338
monochromatic
#161D02 #161D02 #2B3803 #587206 #84AC09

Accessibility & contrast

On white

12.58
#2B3803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B3803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3803
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3803#FFFFFF#000000##FFFFFF
##2B38031.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3A3308
Tritanopia (blue-blind)
#2E352E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b3803;
/* rgb */ color: rgb(43, 56, 3);
/* oklch */ color: oklch(31.8% 0.075 123.2);
Tailwind
colors: {
  custom: {
    50: '#666e49',
    500: '#2b3803',
    950: '#000000',
  },
}
SCSS
$custom: #2b3803;
$custom-light: #666e49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3803",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 74.717,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.07509,
    "h": 123.2
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#2B3803
secondary
#331C7B
accent
#29FF5D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3803

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

Preview Lab → · Contrast checker → · Palette generator →

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