#2B4E03#2B4E03

#2B4E03 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.2% C 0.105 H 133.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2B4E03
RGBrgb(43, 78, 3)
HSLhsl(88, 93%, 16%)
HSVhsv(88, 96%, 31%)
CMYKcmyk(44.9%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.33, -25.38, 35.71)
CIE-LCHlch(29.33, 43.81, 125.41°)
OKLaboklab(38.24% -0.0719 0.0772)
OKLCHoklch(38.24% 0.105 133)
XYZxyz(3.7370, 5.9688, 1.0413)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E03 #26034E
analogous
#4E4B03 #2B4E03 #054E03
triadic
#2B4E03 #032B4E #4E032B
tetradic
#2B4E03 #034E4B #26034E #4E0305
square
#2B4E03 #034E4B #26034E #4E0305
split-complementary
#2B4E03 #03054E #4B034E
monochromatic
#101D01 #101D01 #2B4E03 #4B8905 #6CC408

Accessibility & contrast

On white

9.57
#2B4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B4E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E03
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E03#FFFFFF#000000##FFFFFF
##2B4E031.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4D440D
Tritanopia (blue-blind)
#2B4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e03;
/* rgb */ color: rgb(43, 78, 3);
/* oklch */ color: oklch(38.2% 0.105 133.0);
Tailwind
colors: {
  custom: {
    50: '#69804d',
    500: '#2b4e03',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e03;
$custom-light: #69804d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e03",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 88,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.10547,
    "h": 133
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#2B4E03
secondary
#531E8E
accent
#29FF8D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2B4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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