#2A470A#2A470A

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

Color values

HEX#2A470A
RGBrgb(42, 71, 10)
HSLhsl(89, 75%, 16%)
HSVhsv(89, 86%, 28%)
CMYKcmyk(40.8%, 0%, 85.9%, 72.2%)
CIE-LABlab(26.79, -21.95, 30.75)
CIE-LCHlch(26.79, 37.79, 125.52°)
OKLaboklab(36.15% -0.062 0.0682)
OKLCHoklch(36.15% 0.092 132.3)
XYZxyz(3.2628, 5.0205, 1.0842)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A470A #270A47
analogous
#47450A #2A470A #0B470A
triadic
#2A470A #0A2A47 #470A2A
tetradic
#2A470A #0A4745 #270A47 #470A0B
square
#2A470A #0A4745 #270A47 #470A0B
split-complementary
#2A470A #0A0B47 #450A47
monochromatic
#101B04 #101B04 #2A470A #4A7D12 #69B219

Accessibility & contrast

On white

10.48
#2A470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A470A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A470A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A470A#FFFFFF#000000##FFFFFF
##2A470A1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4100
Deuteranopia (green-blind)
#463F10
Tritanopia (blue-blind)
#2B443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a470a;
/* rgb */ color: rgb(42, 71, 10);
/* oklch */ color: oklch(36.2% 0.092 132.3);
Tailwind
colors: {
  custom: {
    50: '#677a4f',
    500: '#2a470a',
    950: '#000000',
  },
}
SCSS
$custom: #2a470a;
$custom-light: #677a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a470a",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 88.525,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.09223,
    "h": 132.3
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#2A470A
secondary
#542984
accent
#36F28F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A470A

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

Preview Lab → · Contrast checker → · Palette generator →

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