#2B4603#2B4603

#2B4603 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.095 H 130.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2B4603
RGBrgb(43, 70, 3)
HSLhsl(84, 92%, 14%)
HSVhsv(84, 96%, 27%)
CMYKcmyk(38.6%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.45, -21.47, 33.26)
CIE-LCHlch(26.45, 39.58, 122.85°)
OKLaboklab(35.88% -0.0614 0.072)
OKLCHoklch(35.88% 0.095 130.5)
XYZxyz(3.2028, 4.9004, 0.8632)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4603 #1E0346
analogous
#464003 #2B4603 #0A4603
triadic
#2B4603 #032B46 #46032B
tetradic
#2B4603 #034640 #1E0346 #46030A
square
#2B4603 #034640 #1E0346 #46030A
split-complementary
#2B4603 #030A46 #400346
monochromatic
#121D01 #121D01 #2B4603 #4F8106 #73BB08

Accessibility & contrast

On white

10.61
#2B4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B4603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4603
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4603#FFFFFF#000000##FFFFFF
##2B46031.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0B
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4603;
/* rgb */ color: rgb(43, 70, 3);
/* oklch */ color: oklch(35.9% 0.095 130.5);
Tailwind
colors: {
  custom: {
    50: '#68794b',
    500: '#2b4603',
    950: '#000000',
  },
}
SCSS
$custom: #2b4603;
$custom-light: #68794b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4603",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 84.179,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.09465,
    "h": 130.5
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#2B4603
secondary
#481D87
accent
#29FF7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4603

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

Preview Lab → · Contrast checker → · Palette generator →

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