#2B4809#2B4809

#2B4809 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.5% C 0.094 H 131.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2B4809
RGBrgb(43, 72, 9)
HSLhsl(88, 78%, 16%)
HSVhsv(88, 88%, 28%)
CMYKcmyk(40.3%, 0%, 87.5%, 71.8%)
CIE-LABlab(27.21, -22.10, 31.54)
CIE-LCHlch(27.21, 38.51, 125.01°)
OKLaboklab(36.51% -0.0626 0.0697)
OKLCHoklch(36.51% 0.094 131.9)
XYZxyz(3.3629, 5.1679, 1.0787)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4809 #260948
analogous
#484509 #2B4809 #0B4809
triadic
#2B4809 #092B48 #48092B
tetradic
#2B4809 #094845 #260948 #48090B
square
#2B4809 #094845 #260948 #48090B
split-complementary
#2B4809 #090B48 #450948
monochromatic
#101B03 #101B03 #2B4809 #4B7E10 #6CB517

Accessibility & contrast

On white

10.33
#2B4809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B4809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4809
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4809#FFFFFF#000000##FFFFFF
##2B48091.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#483F10
Tritanopia (blue-blind)
#2C453C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4809;
/* rgb */ color: rgb(43, 72, 9);
/* oklch */ color: oklch(36.5% 0.094 131.9);
Tailwind
colors: {
  custom: {
    50: '#687b4e',
    500: '#2b4809',
    950: '#000000',
  },
}
SCSS
$custom: #2b4809;
$custom-light: #687b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4809",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 87.619,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.09367,
    "h": 131.9
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#2B4809
secondary
#532785
accent
#34F48C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4809

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

Preview Lab → · Contrast checker → · Palette generator →

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