#2B4215#2B4215

#2B4215 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.075 H 132.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2B4215
RGBrgb(43, 66, 21)
HSLhsl(91, 52%, 17%)
HSVhsv(91, 68%, 26%)
CMYKcmyk(34.8%, 0%, 68.2%, 74.1%)
CIE-LABlab(25.15, -17.97, 24.00)
CIE-LCHlch(25.15, 29.98, 126.82°)
OKLaboklab(34.86% -0.0503 0.0558)
OKLCHoklch(34.86% 0.075 132)
XYZxyz(3.0798, 4.4641, 1.4087)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4215 #2C1542
analogous
#424215 #2B4215 #154216
triadic
#2B4215 #152B42 #42152B
tetradic
#2B4215 #154242 #2C1542 #421615
square
#2B4215 #154242 #2C1542 #421615
split-complementary
#2B4215 #161542 #421542
monochromatic
#0F1707 #0F1707 #2B4215 #497024 #679F33

Accessibility & contrast

On white

11.09
#2B4215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B4215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4215
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4215#FFFFFF#000000##FFFFFF
##2B42151.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D10
Deuteranopia (green-blind)
#423B18
Tritanopia (blue-blind)
#2C3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b4215;
/* rgb */ color: rgb(43, 66, 21);
/* oklch */ color: oklch(34.9% 0.075 132.0);
Tailwind
colors: {
  custom: {
    50: '#667654',
    500: '#2b4215',
    950: '#000000',
  },
}
SCSS
$custom: #2b4215;
$custom-light: #667654;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4215",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 21
  },
  "hsl": {
    "h": 90.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.07508,
    "h": 132
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#2B4215
secondary
#5A397A
accent
#4DDB95
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B4215

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

Preview Lab → · Contrast checker → · Palette generator →

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