#2B470A#2B470A

#2B470A is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.092 H 131.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2B470A
RGBrgb(43, 71, 10)
HSLhsl(88, 75%, 16%)
HSVhsv(88, 86%, 28%)
CMYKcmyk(39.4%, 0%, 85.9%, 72.2%)
CIE-LABlab(26.85, -21.53, 30.83)
CIE-LCHlch(26.85, 37.60, 124.92°)
OKLaboklab(36.22% -0.061 0.0684)
OKLCHoklch(36.22% 0.092 131.7)
XYZxyz(3.3043, 5.0418, 1.0862)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B470A #260A47
analogous
#47440A #2B470A #0C470A
triadic
#2B470A #0A2B47 #470A2B
tetradic
#2B470A #0A4744 #260A47 #470A0C
square
#2B470A #0A4744 #260A47 #470A0C
split-complementary
#2B470A #0A0C47 #440A47
monochromatic
#101B04 #101B04 #2B470A #4B7D12 #6CB219

Accessibility & contrast

On white

10.46
#2B470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B470A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B470A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B470A#FFFFFF#000000##FFFFFF
##2B470A1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4100
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#2C443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b470a;
/* rgb */ color: rgb(43, 71, 10);
/* oklch */ color: oklch(36.2% 0.092 131.7);
Tailwind
colors: {
  custom: {
    50: '#677a4f',
    500: '#2b470a',
    950: '#000000',
  },
}
SCSS
$custom: #2b470a;
$custom-light: #677a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b470a",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 87.541,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3622,
    "c": 0.09163,
    "h": 131.7
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#2B470A
secondary
#532984
accent
#36F28C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B470A

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

Preview Lab → · Contrast checker → · Palette generator →

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