#2A470C#2A470C

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

Color values

HEX#2A470C
RGBrgb(42, 71, 12)
HSLhsl(89, 71%, 16%)
HSVhsv(89, 83%, 28%)
CMYKcmyk(40.8%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.81, -21.82, 29.98)
CIE-LCHlch(26.81, 37.08, 126.04°)
OKLaboklab(36.17% -0.0615 0.067)
OKLCHoklch(36.17% 0.091 132.6)
XYZxyz(3.2744, 5.0251, 1.1452)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A470C #290C47
analogous
#47470C #2A470C #0D470C
triadic
#2A470C #0C2A47 #470C2A
tetradic
#2A470C #0C4747 #290C47 #470C0D
square
#2A470C #0C4747 #290C47 #470C0D
split-complementary
#2A470C #0C0D47 #470C47
monochromatic
#0F1A04 #0F1A04 #2A470C #497B15 #68B01E

Accessibility & contrast

On white

10.47
#2A470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A470C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A470C#FFFFFF#000000##FFFFFF
##2A470C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4102
Deuteranopia (green-blind)
#463F12
Tritanopia (blue-blind)
#2A443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a470c;
/* rgb */ color: rgb(42, 71, 12);
/* oklch */ color: oklch(36.2% 0.091 132.6);
Tailwind
colors: {
  custom: {
    50: '#677a50',
    500: '#2a470c',
    950: '#000000',
  },
}
SCSS
$custom: #2a470c;
$custom-light: #677a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a470c",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 89.492,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36169,
    "c": 0.09095,
    "h": 132.6
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#2A470C
secondary
#572C83
accent
#3AEE92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A470C

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

Preview Lab → · Contrast checker → · Palette generator →

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