#2B450E#2B450E

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

Color values

HEX#2B450E
RGBrgb(43, 69, 14)
HSLhsl(88, 66%, 16%)
HSVhsv(88, 80%, 27%)
CMYKcmyk(37.7%, 0%, 79.7%, 72.9%)
CIE-LABlab(26.16, -20.22, 28.52)
CIE-LCHlch(26.16, 34.96, 125.34°)
OKLaboklab(35.66% -0.0571 0.0643)
OKLCHoklch(35.66% 0.086 131.6)
XYZxyz(3.2036, 4.8014, 1.1734)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B450E #280E45
analogous
#45440E #2B450E #10450E
triadic
#2B450E #0E2B45 #450E2B
tetradic
#2B450E #0E4544 #280E45 #450E10
square
#2B450E #0E4544 #280E45 #450E10
split-complementary
#2B450E #0E1045 #440E45
monochromatic
#101905 #101905 #2B450E #4B7818 #6AAB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B450E#FFFFFF#000000##FFFFFF
##2B450E1.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)
#483F05
Deuteranopia (green-blind)
#453D13
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b450e;
/* rgb */ color: rgb(43, 69, 14);
/* oklch */ color: oklch(35.7% 0.086 131.6);
Tailwind
colors: {
  custom: {
    50: '#677950',
    500: '#2b450e',
    950: '#000000',
  },
}
SCSS
$custom: #2b450e;
$custom-light: #677950;
$custom-dark: #000000;
JSON
{
  "hex": "#2b450e",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 88.364,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.08594,
    "h": 131.6
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#2B450E
secondary
#552F80
accent
#3FE98F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B450E

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

Preview Lab → · Contrast checker → · Palette generator →

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