#2B5114#2B5114

#2B5114 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.099 H 136.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2B5114
RGBrgb(43, 81, 20)
HSLhsl(97, 60%, 20%)
HSVhsv(97, 75%, 32%)
CMYKcmyk(46.9%, 0%, 75.3%, 68.2%)
CIE-LABlab(30.52, -25.65, 30.29)
CIE-LCHlch(30.52, 39.69, 130.26°)
OKLaboklab(39.24% -0.0713 0.0689)
OKLCHoklch(39.24% 0.099 136)
XYZxyz(4.0649, 6.4487, 1.6922)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5114 #3A1451
analogous
#4A5114 #2B5114 #14511C
triadic
#2B5114 #142B51 #51142B
tetradic
#2B5114 #144A51 #3A1451 #511C14
square
#2B5114 #144A51 #3A1451 #511C14
split-complementary
#2B5114 #1C1451 #51144A
monochromatic
#0D1906 #112008 #2B5114 #458220 #5FB32C

Accessibility & contrast

On white

9.17
#2B5114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B5114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5114
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5114#FFFFFF#000000##FFFFFF
##2B51141.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#2A4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b5114;
/* rgb */ color: rgb(43, 81, 20);
/* oklch */ color: oklch(39.2% 0.099 136.0);
Tailwind
colors: {
  custom: {
    50: '#688255',
    500: '#2b5114',
    950: '#000000',
  },
}
SCSS
$custom: #2b5114;
$custom-light: #688255;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5114",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 97.377,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.09919,
    "h": 136
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#2B5114
secondary
#6A3889
accent
#44E4A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5114

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

Preview Lab → · Contrast checker → · Palette generator →

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