#2B4115#2B4115

#2B4115 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.073 H 131.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2B4115
RGBrgb(43, 65, 21)
HSLhsl(90, 51%, 17%)
HSVhsv(90, 68%, 25%)
CMYKcmyk(33.8%, 0%, 67.7%, 74.5%)
CIE-LABlab(24.79, -17.42, 23.59)
CIE-LCHlch(24.79, 29.33, 126.45°)
OKLaboklab(34.57% -0.0488 0.0549)
OKLCHoklch(34.57% 0.073 131.6)
XYZxyz(3.0219, 4.3482, 1.3894)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4115 #2B1541
analogous
#414115 #2B4115 #154115
triadic
#2B4115 #152B41 #41152B
tetradic
#2B4115 #154141 #2B1541 #411515
square
#2B4115 #154141 #2B1541 #411515
split-complementary
#2B4115 #151541 #411541
monochromatic
#0F1707 #0F1707 #2B4115 #4A6F24 #689E33

Accessibility & contrast

On white

11.23
#2B4115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B4115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4115
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4115#FFFFFF#000000##FFFFFF
##2B41151.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C10
Deuteranopia (green-blind)
#413A18
Tritanopia (blue-blind)
#2C3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4115;
/* rgb */ color: rgb(43, 65, 21);
/* oklch */ color: oklch(34.6% 0.073 131.6);
Tailwind
colors: {
  custom: {
    50: '#667554',
    500: '#2b4115',
    950: '#000000',
  },
}
SCSS
$custom: #2b4115;
$custom-light: #667554;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4115",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34571,
    "c": 0.07344,
    "h": 131.6
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#2B4115
secondary
#593979
accent
#4DDB94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B4115

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

Preview Lab → · Contrast checker → · Palette generator →

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