#2C470F#2C470F

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

Color values

HEX#2C470F
RGBrgb(44, 71, 15)
HSLhsl(89, 65%, 17%)
HSVhsv(89, 79%, 28%)
CMYKcmyk(38%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.95, -20.74, 28.89)
CIE-LCHlch(26.95, 35.57, 125.68°)
OKLaboklab(36.33% -0.0585 0.0652)
OKLCHoklch(36.33% 0.088 131.9)
XYZxyz(3.3781, 5.0763, 1.2537)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C470F #2A0F47
analogous
#47460F #2C470F #10470F
triadic
#2C470F #0F2C47 #470F2C
tetradic
#2C470F #0F4746 #2A0F47 #470F10
square
#2C470F #0F4746 #2A0F47 #470F10
split-complementary
#2C470F #0F1047 #460F47
monochromatic
#101905 #101905 #2C470F #4B7A1A #6BAC24

Accessibility & contrast

On white

10.42
#2C470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C470F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C470F#FFFFFF#000000##FFFFFF
##2C470F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c470f;
/* rgb */ color: rgb(44, 71, 15);
/* oklch */ color: oklch(36.3% 0.088 131.9);
Tailwind
colors: {
  custom: {
    50: '#687a51',
    500: '#2c470f',
    950: '#000000',
  },
}
SCSS
$custom: #2c470f;
$custom-light: #687a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c470f",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 88.929,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.08757,
    "h": 131.9
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#2C470F
secondary
#573081
accent
#40E891
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C470F

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

Preview Lab → · Contrast checker → · Palette generator →

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