#2B5213#2B5213

#2B5213 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.5% C 0.101 H 136.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2B5213
RGBrgb(43, 82, 19)
HSLhsl(97, 62%, 20%)
HSVhsv(97, 77%, 32%)
CMYKcmyk(47.6%, 0%, 76.8%, 67.8%)
CIE-LABlab(30.87, -26.21, 31.10)
CIE-LCHlch(30.87, 40.68, 130.13°)
OKLaboklab(39.52% -0.0729 0.0705)
OKLCHoklch(39.52% 0.101 136)
XYZxyz(4.1310, 6.5950, 1.6712)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5213 #3A1352
analogous
#4B5213 #2B5213 #13521B
triadic
#2B5213 #132B52 #52132B
tetradic
#2B5213 #134B52 #3A1352 #521B13
square
#2B5213 #134B52 #3A1352 #521B13
split-complementary
#2B5213 #1B1352 #52134B
monochromatic
#0D1906 #112007 #2B5213 #45841F #5FB52A

Accessibility & contrast

On white

9.06
#2B5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5213
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5213#FFFFFF#000000##FFFFFF
##2B52131.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B09
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#2A4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b5213;
/* rgb */ color: rgb(43, 82, 19);
/* oklch */ color: oklch(39.5% 0.101 136.0);
Tailwind
colors: {
  custom: {
    50: '#688355',
    500: '#2b5213',
    950: '#000000',
  },
}
SCSS
$custom: #2b5213;
$custom-light: #688355;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5213",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 97.143,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.10141,
    "h": 136
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#2B5213
secondary
#6A368A
accent
#42E5A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5213

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

Preview Lab → · Contrast checker → · Palette generator →

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