#2B5714#2B5714

#2B5714 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.0% C 0.108 H 137.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2B5714
RGBrgb(43, 87, 20)
HSLhsl(99, 63%, 21%)
HSVhsv(99, 77%, 34%)
CMYKcmyk(50.6%, 0%, 77%, 65.9%)
CIE-LABlab(32.66, -28.44, 32.50)
CIE-LCHlch(32.66, 43.18, 131.19°)
OKLaboklab(41% -0.0789 0.0736)
OKLCHoklch(41% 0.108 137)
XYZxyz(4.5306, 7.3802, 1.8475)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5714 #401457
analogous
#4C5714 #2B5714 #14571E
triadic
#2B5714 #142B57 #57142B
tetradic
#2B5714 #144C57 #401457 #571E14
square
#2B5714 #144C57 #401457 #571E14
split-complementary
#2B5714 #1E1457 #57144C
monochromatic
#0C1906 #122509 #2B5714 #44891F #5CBB2B

Accessibility & contrast

On white

8.48
#2B5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5714
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5714#FFFFFF#000000##FFFFFF
##2B57141.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F09
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#29544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b5714;
/* rgb */ color: rgb(43, 87, 20);
/* oklch */ color: oklch(41.0% 0.108 137.0);
Tailwind
colors: {
  custom: {
    50: '#698756',
    500: '#2b5714',
    950: '#000000',
  },
}
SCSS
$custom: #2b5714;
$custom-light: #698756;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5714",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 99.403,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.10784,
    "h": 137
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#2B5714
secondary
#71388F
accent
#42E6AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5714

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

Preview Lab → · Contrast checker → · Palette generator →

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