#2B470B#2B470B

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

Color values

HEX#2B470B
RGBrgb(43, 71, 11)
HSLhsl(88, 73%, 16%)
HSVhsv(88, 85%, 28%)
CMYKcmyk(39.4%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.86, -21.46, 30.46)
CIE-LCHlch(26.86, 37.26, 125.17°)
OKLaboklab(36.23% -0.0607 0.0678)
OKLCHoklch(36.23% 0.091 131.9)
XYZxyz(3.3099, 5.0441, 1.1158)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B470B #270B47
analogous
#47450B #2B470B #0D470B
triadic
#2B470B #0B2B47 #470B2B
tetradic
#2B470B #0B4745 #270B47 #470B0D
square
#2B470B #0B4745 #270B47 #470B0D
split-complementary
#2B470B #0B0D47 #450B47
monochromatic
#101A04 #101A04 #2B470B #4B7C13 #6BB11B

Accessibility & contrast

On white

10.45
#2B470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B470B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B470B#FFFFFF#000000##FFFFFF
##2B470B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b470b;
/* rgb */ color: rgb(43, 71, 11);
/* oklch */ color: oklch(36.2% 0.091 131.9);
Tailwind
colors: {
  custom: {
    50: '#677a4f',
    500: '#2b470b',
    950: '#000000',
  },
}
SCSS
$custom: #2b470b;
$custom-light: #677a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b470b",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 88,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36227,
    "c": 0.091,
    "h": 131.9
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#2B470B
secondary
#542A83
accent
#38F08E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B470B

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

Preview Lab → · Contrast checker → · Palette generator →

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