#2B4E16#2B4E16

#2B4E16 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.093 H 135.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2B4E16
RGBrgb(43, 78, 22)
HSLhsl(98, 56%, 20%)
HSVhsv(98, 72%, 31%)
CMYKcmyk(44.9%, 0%, 71.8%, 69.4%)
CIE-LABlab(29.46, -24.02, 28.23)
CIE-LCHlch(29.46, 37.06, 130.39°)
OKLaboklab(38.38% -0.0667 0.0649)
OKLCHoklch(38.38% 0.093 135.8)
XYZxyz(3.8654, 6.0201, 1.7172)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E16 #39164E
analogous
#474E16 #2B4E16 #164E1D
triadic
#2B4E16 #162B4E #4E162B
tetradic
#2B4E16 #16474E #39164E #4E1D16
square
#2B4E16 #16474E #39164E #4E1D16
split-complementary
#2B4E16 #1D164E #4E1647
monochromatic
#0D1807 #111E09 #2B4E16 #457E23 #60AD31

Accessibility & contrast

On white

9.53
#2B4E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E16
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E16#FFFFFF#000000##FFFFFF
##2B4E161.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#2A4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e16;
/* rgb */ color: rgb(43, 78, 22);
/* oklch */ color: oklch(38.4% 0.093 135.8);
Tailwind
colors: {
  custom: {
    50: '#688056',
    500: '#2b4e16',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e16;
$custom-light: #688056;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e16",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 97.5,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.09306,
    "h": 135.8
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#2B4E16
secondary
#693A85
accent
#49DFA7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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