#2B4F13#2B4F13

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

Color values

HEX#2B4F13
RGBrgb(43, 79, 19)
HSLhsl(96, 61%, 19%)
HSVhsv(96, 76%, 31%)
CMYKcmyk(45.6%, 0%, 75.9%, 69%)
CIE-LABlab(29.79, -24.79, 29.99)
CIE-LCHlch(29.79, 38.91, 129.57°)
OKLaboklab(38.65% -0.069 0.0682)
OKLCHoklch(38.65% 0.097 135.4)
XYZxyz(3.9097, 6.1524, 1.5975)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F13 #37134F
analogous
#494F13 #2B4F13 #134F19
triadic
#2B4F13 #132B4F #4F132B
tetradic
#2B4F13 #13494F #37134F #4F1913
square
#2B4F13 #13494F #37134F #4F1913
split-complementary
#2B4F13 #19134F #4F1349
monochromatic
#0D1906 #101E07 #2B4F13 #46801F #61B22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4F13#FFFFFF#000000##FFFFFF
##2B4F131.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)
#52480A
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#2A4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4f13;
/* rgb */ color: rgb(43, 79, 19);
/* oklch */ color: oklch(38.6% 0.097 135.4);
Tailwind
colors: {
  custom: {
    50: '#688055',
    500: '#2b4f13',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f13;
$custom-light: #688055;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f13",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 96,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.09702,
    "h": 135.4
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#2B4F13
secondary
#673688
accent
#43E4A4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4F13

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

Preview Lab → · Contrast checker → · Palette generator →

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