#2B4F16#2B4F16

#2B4F16 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.095 H 136.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2B4F16
RGBrgb(43, 79, 22)
HSLhsl(98, 56%, 20%)
HSVhsv(98, 72%, 31%)
CMYKcmyk(45.6%, 0%, 72.2%, 69%)
CIE-LABlab(29.82, -24.50, 28.61)
CIE-LCHlch(29.82, 37.67, 130.57°)
OKLaboklab(38.68% -0.068 0.0657)
OKLCHoklch(38.68% 0.095 136)
XYZxyz(3.9370, 6.1633, 1.7411)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F16 #3A164F
analogous
#484F16 #2B4F16 #164F1E
triadic
#2B4F16 #162B4F #4F162B
tetradic
#2B4F16 #16484F #3A164F #4F1E16
square
#2B4F16 #16484F #3A164F #4F1E16
split-complementary
#2B4F16 #1E164F #4F1648
monochromatic
#0D1807 #111F09 #2B4F16 #457F23 #5FAF31

Accessibility & contrast

On white

9.41
#2B4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B4F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F16
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F16#FFFFFF#000000##FFFFFF
##2B4F161.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480F
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#2A4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4f16;
/* rgb */ color: rgb(43, 79, 22);
/* oklch */ color: oklch(38.7% 0.095 136.0);
Tailwind
colors: {
  custom: {
    50: '#688056',
    500: '#2b4f16',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f16;
$custom-light: #688056;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f16",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 97.895,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.09458,
    "h": 136
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#2B4F16
secondary
#6A3A86
accent
#48E0A8
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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