#2B3F15#2B3F15

#2B3F15 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.070 H 130.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2B3F15
RGBrgb(43, 63, 21)
HSLhsl(89, 50%, 16%)
HSVhsv(89, 67%, 25%)
CMYKcmyk(31.7%, 0%, 66.7%, 75.3%)
CIE-LABlab(24.07, -16.33, 22.78)
CIE-LCHlch(24.07, 28.03, 125.63°)
OKLaboklab(33.99% -0.0457 0.0532)
OKLCHoklch(33.99% 0.07 130.7)
XYZxyz(2.9091, 4.1227, 1.3518)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F15 #29153F
analogous
#3F3E15 #2B3F15 #163F15
triadic
#2B3F15 #152B3F #3F152B
tetradic
#2B3F15 #153F3E #29153F #3F1516
square
#2B3F15 #153F3E #29153F #3F1516
split-complementary
#2B3F15 #15163F #3E153F
monochromatic
#101708 #101708 #2B3F15 #4A6D24 #6A9B34

Accessibility & contrast

On white

11.51
#2B3F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B3F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F15
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F15#FFFFFF#000000##FFFFFF
##2B3F151.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A11
Deuteranopia (green-blind)
#3F3918
Tritanopia (blue-blind)
#2C3C36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f15;
/* rgb */ color: rgb(43, 63, 21);
/* oklch */ color: oklch(34.0% 0.070 130.7);
Tailwind
colors: {
  custom: {
    50: '#667454',
    500: '#2b3f15',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f15;
$custom-light: #667454;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f15",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 21
  },
  "hsl": {
    "h": 88.571,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33988,
    "c": 0.07015,
    "h": 130.7
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#2B3F15
secondary
#563977
accent
#4EDA91
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B3F15

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

Preview Lab → · Contrast checker → · Palette generator →

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