#2C470C#2C470C

#2C470C is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.090 H 131.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2C470C
RGBrgb(44, 71, 12)
HSLhsl(87, 71%, 16%)
HSVhsv(87, 83%, 28%)
CMYKcmyk(38%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.93, -20.97, 30.15)
CIE-LCHlch(26.93, 36.72, 124.82°)
OKLaboklab(36.3% -0.0594 0.0673)
OKLCHoklch(36.3% 0.09 131.4)
XYZxyz(3.3583, 5.0684, 1.1491)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C470C #270C47
analogous
#47450C #2C470C #0F470C
triadic
#2C470C #0C2C47 #470C2C
tetradic
#2C470C #0C4745 #270C47 #470C0F
square
#2C470C #0C4745 #270C47 #470C0F
split-complementary
#2C470C #0C0F47 #450C47
monochromatic
#101A04 #101A04 #2C470C #4C7B15 #6DB01E

Accessibility & contrast

On white

10.43
#2C470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C470C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C470C#FFFFFF#000000##FFFFFF
##2C470C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4102
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#2D443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c470c;
/* rgb */ color: rgb(44, 71, 12);
/* oklch */ color: oklch(36.3% 0.090 131.4);
Tailwind
colors: {
  custom: {
    50: '#687a50',
    500: '#2c470c',
    950: '#000000',
  },
}
SCSS
$custom: #2c470c;
$custom-light: #687a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2c470c",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 87.458,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.08972,
    "h": 131.4
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#2C470C
secondary
#542C83
accent
#3AEE8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C470C

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

Preview Lab → · Contrast checker → · Palette generator →

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