#2B470C#2B470C

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

Color values

HEX#2B470C
RGBrgb(43, 71, 12)
HSLhsl(88, 71%, 16%)
HSVhsv(88, 83%, 28%)
CMYKcmyk(39.4%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.87, -21.40, 30.06)
CIE-LCHlch(26.87, 36.90, 125.44°)
OKLaboklab(36.24% -0.0604 0.0671)
OKLCHoklch(36.24% 0.09 132)
XYZxyz(3.3158, 5.0465, 1.1471)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B470C #280C47
analogous
#47460C #2B470C #0E470C
triadic
#2B470C #0C2B47 #470C2B
tetradic
#2B470C #0C4746 #280C47 #470C0E
square
#2B470C #0C4746 #280C47 #470C0E
split-complementary
#2B470C #0C0E47 #460C47
monochromatic
#101A04 #101A04 #2B470C #4B7B15 #6AB01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B470C#FFFFFF#000000##FFFFFF
##2B470C1.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)
#4A4102
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#2C443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b470c;
/* rgb */ color: rgb(43, 71, 12);
/* oklch */ color: oklch(36.2% 0.090 132.0);
Tailwind
colors: {
  custom: {
    50: '#677a50',
    500: '#2b470c',
    950: '#000000',
  },
}
SCSS
$custom: #2b470c;
$custom-light: #677a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2b470c",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 88.475,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36235,
    "c": 0.09034,
    "h": 132
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#2B470C
secondary
#552C83
accent
#3AEE8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B470C

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

Preview Lab → · Contrast checker → · Palette generator →

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