#2B5014#2B5014

#2B5014 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.098 H 135.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2B5014
RGBrgb(43, 80, 20)
HSLhsl(97, 60%, 20%)
HSVhsv(97, 75%, 31%)
CMYKcmyk(46.2%, 0%, 75%, 68.6%)
CIE-LABlab(30.16, -25.18, 29.92)
CIE-LCHlch(30.16, 39.10, 130.08°)
OKLaboklab(38.95% -0.07 0.0682)
OKLCHoklch(38.95% 0.098 135.8)
XYZxyz(3.9911, 6.3012, 1.6676)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5014 #391450
analogous
#495014 #2B5014 #14501B
triadic
#2B5014 #142B50 #50142B
tetradic
#2B5014 #144950 #391450 #501B14
square
#2B5014 #144950 #391450 #501B14
split-complementary
#2B5014 #1B1450 #501449
monochromatic
#0D1806 #111F08 #2B5014 #458120 #60B22C

Accessibility & contrast

On white

9.29
#2B5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B5014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5014
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5014#FFFFFF#000000##FFFFFF
##2B50141.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490B
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#2A4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b5014;
/* rgb */ color: rgb(43, 80, 20);
/* oklch */ color: oklch(38.9% 0.098 135.8);
Tailwind
colors: {
  custom: {
    50: '#688155',
    500: '#2b5014',
    950: '#000000',
  },
}
SCSS
$custom: #2b5014;
$custom-light: #688155;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5014",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 97,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.09772,
    "h": 135.8
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#2B5014
secondary
#693888
accent
#45E3A6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5014

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

Preview Lab → · Contrast checker → · Palette generator →

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