#2B4510#2B4510

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

Color values

HEX#2B4510
RGBrgb(43, 69, 16)
HSLhsl(89, 62%, 17%)
HSVhsv(89, 77%, 27%)
CMYKcmyk(37.7%, 0%, 76.8%, 72.9%)
CIE-LABlab(26.18, -20.05, 27.62)
CIE-LCHlch(26.18, 34.13, 125.97°)
OKLaboklab(35.68% -0.0564 0.0627)
OKLCHoklch(35.68% 0.084 132)
XYZxyz(3.2179, 4.8071, 1.2484)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4510 #2A1045
analogous
#454510 #2B4510 #114510
triadic
#2B4510 #102B45 #45102B
tetradic
#2B4510 #104545 #2A1045 #451011
square
#2B4510 #104545 #2A1045 #451011
split-complementary
#2B4510 #101145 #451045
monochromatic
#0F1906 #0F1906 #2B4510 #4A771C #69A827

Accessibility & contrast

On white

10.71
#2B4510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4510
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4510#FFFFFF#000000##FFFFFF
##2B45101.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F08
Deuteranopia (green-blind)
#453D15
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b4510;
/* rgb */ color: rgb(43, 69, 16);
/* oklch */ color: oklch(35.7% 0.084 132.0);
Tailwind
colors: {
  custom: {
    50: '#677952',
    500: '#2b4510',
    950: '#000000',
  },
}
SCSS
$custom: #2b4510;
$custom-light: #677952;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4510",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 16
  },
  "hsl": {
    "h": 89.434,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35683,
    "c": 0.08437,
    "h": 132
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#2B4510
secondary
#58327F
accent
#42E592
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4510

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

Preview Lab → · Contrast checker → · Palette generator →

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