#2B4515#2B4515

#2B4515 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.080 H 133.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2B4515
RGBrgb(43, 69, 21)
HSLhsl(93, 53%, 18%)
HSVhsv(93, 70%, 27%)
CMYKcmyk(37.7%, 0%, 69.6%, 72.9%)
CIE-LABlab(26.23, -19.56, 25.20)
CIE-LCHlch(26.23, 31.90, 127.83°)
OKLaboklab(35.74% -0.0546 0.0583)
OKLCHoklch(35.74% 0.08 133.1)
XYZxyz(3.2597, 4.8239, 1.4687)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4515 #2F1545
analogous
#434515 #2B4515 #154517
triadic
#2B4515 #152B45 #45152B
tetradic
#2B4515 #154345 #2F1545 #451715
square
#2B4515 #154345 #2F1545 #451715
split-complementary
#2B4515 #171545 #451543
monochromatic
#0F1707 #0F1707 #2B4515 #487423 #65A332

Accessibility & contrast

On white

10.69
#2B4515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B4515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4515
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4515#FFFFFF#000000##FFFFFF
##2B45151.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0F
Deuteranopia (green-blind)
#443D19
Tritanopia (blue-blind)
#2B423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b4515;
/* rgb */ color: rgb(43, 69, 21);
/* oklch */ color: oklch(35.7% 0.080 133.1);
Tailwind
colors: {
  custom: {
    50: '#667955',
    500: '#2b4515',
    950: '#000000',
  },
}
SCSS
$custom: #2b4515;
$custom-light: #667955;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4515",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 92.5,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35739,
    "c": 0.07992,
    "h": 133.1
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#2B4515
secondary
#5E397D
accent
#4BDD9A
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4515

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

Preview Lab → · Contrast checker → · Palette generator →

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