#2B5314#2B5314

#2B5314 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.8% C 0.102 H 136.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2B5314
RGBrgb(43, 83, 20)
HSLhsl(98, 61%, 20%)
HSVhsv(98, 76%, 33%)
CMYKcmyk(48.2%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.23, -26.60, 31.03)
CIE-LCHlch(31.23, 40.87, 130.60°)
OKLaboklab(39.83% -0.0739 0.0705)
OKLCHoklch(39.83% 0.102 136.3)
XYZxyz(4.2157, 6.7504, 1.7425)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5314 #3C1453
analogous
#4A5314 #2B5314 #14531C
triadic
#2B5314 #142B53 #53142B
tetradic
#2B5314 #144A53 #3C1453 #531C14
square
#2B5314 #144A53 #3C1453 #531C14
split-complementary
#2B5314 #1C1453 #53144A
monochromatic
#0D1906 #112208 #2B5314 #458420 #5EB62C

Accessibility & contrast

On white

8.94
#2B5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5314
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5314#FFFFFF#000000##FFFFFF
##2B53141.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0A
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#295046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b5314;
/* rgb */ color: rgb(43, 83, 20);
/* oklch */ color: oklch(39.8% 0.102 136.3);
Tailwind
colors: {
  custom: {
    50: '#688456',
    500: '#2b5314',
    950: '#000000',
  },
}
SCSS
$custom: #2b5314;
$custom-light: #688456;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5314",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 98.095,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.10211,
    "h": 136.3
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#2B5314
secondary
#6D388B
accent
#44E4AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5314

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

Preview Lab → · Contrast checker → · Palette generator →

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