#2B4F14#2B4F14

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

Color values

HEX#2B4F14
RGBrgb(43, 79, 20)
HSLhsl(97, 60%, 19%)
HSVhsv(97, 75%, 31%)
CMYKcmyk(45.6%, 0%, 74.7%, 69%)
CIE-LABlab(29.80, -24.70, 29.54)
CIE-LCHlch(29.80, 38.51, 129.89°)
OKLaboklab(38.66% -0.0687 0.0674)
OKLCHoklch(38.66% 0.096 135.6)
XYZxyz(3.9184, 6.1558, 1.6434)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F14 #38144F
analogous
#494F14 #2B4F14 #144F1B
triadic
#2B4F14 #142B4F #4F142B
tetradic
#2B4F14 #14494F #38144F #4F1B14
square
#2B4F14 #14494F #38144F #4F1B14
split-complementary
#2B4F14 #1B144F #4F1449
monochromatic
#0D1806 #101E08 #2B4F14 #468020 #60B12D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4F14#FFFFFF#000000##FFFFFF
##2B4F141.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)
#52480B
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#2A4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4f14;
/* rgb */ color: rgb(43, 79, 20);
/* oklch */ color: oklch(38.7% 0.096 135.6);
Tailwind
colors: {
  custom: {
    50: '#688055',
    500: '#2b4f14',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f14;
$custom-light: #688055;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f14",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 96.61,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38655,
    "c": 0.09623,
    "h": 135.6
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#2B4F14
secondary
#683887
accent
#45E3A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4F14

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

Preview Lab → · Contrast checker → · Palette generator →

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