#2B4516#2B4516

#2B4516 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.079 H 133.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2B4516
RGBrgb(43, 69, 22)
HSLhsl(93, 52%, 18%)
HSVhsv(93, 68%, 27%)
CMYKcmyk(37.7%, 0%, 68.1%, 72.9%)
CIE-LABlab(26.24, -19.45, 24.68)
CIE-LCHlch(26.24, 31.43, 128.24°)
OKLaboklab(35.75% -0.0542 0.0574)
OKLCHoklch(35.75% 0.079 133.4)
XYZxyz(3.2691, 4.8276, 1.5185)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4516 #301645
analogous
#424516 #2B4516 #164518
triadic
#2B4516 #162B45 #45162B
tetradic
#2B4516 #164245 #301645 #451816
square
#2B4516 #164245 #301645 #451816
split-complementary
#2B4516 #181645 #451642
monochromatic
#0E1707 #0E1707 #2B4516 #487325 #65A234

Accessibility & contrast

On white

10.68
#2B4516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B4516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4516
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4516#FFFFFF#000000##FFFFFF
##2B45161.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F11
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#2B423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b4516;
/* rgb */ color: rgb(43, 69, 22);
/* oklch */ color: oklch(35.8% 0.079 133.4);
Tailwind
colors: {
  custom: {
    50: '#667955',
    500: '#2b4516',
    950: '#000000',
  },
}
SCSS
$custom: #2b4516;
$custom-light: #667955;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4516",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 22
  },
  "hsl": {
    "h": 93.191,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35751,
    "c": 0.07896,
    "h": 133.4
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#2B4516
secondary
#5F3A7C
accent
#4DDB9B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4516

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

Preview Lab → · Contrast checker → · Palette generator →

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