#2A470B#2A470B

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

Color values

HEX#2A470B
RGBrgb(42, 71, 11)
HSLhsl(89, 73%, 16%)
HSVhsv(89, 85%, 28%)
CMYKcmyk(40.8%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.80, -21.89, 30.38)
CIE-LCHlch(26.80, 37.44, 125.77°)
OKLaboklab(36.16% -0.0618 0.0676)
OKLCHoklch(36.16% 0.092 132.4)
XYZxyz(3.2684, 5.0227, 1.1138)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A470B #280B47
analogous
#47460B #2A470B #0C470B
triadic
#2A470B #0B2A47 #470B2A
tetradic
#2A470B #0B4746 #280B47 #470B0C
square
#2A470B #0B4746 #280B47 #470B0C
split-complementary
#2A470B #0B0C47 #460B47
monochromatic
#101A04 #101A04 #2A470B #497C13 #69B11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A470B#FFFFFF#000000##FFFFFF
##2A470B1.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)
#4A4101
Deuteranopia (green-blind)
#463F11
Tritanopia (blue-blind)
#2A443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a470b;
/* rgb */ color: rgb(42, 71, 11);
/* oklch */ color: oklch(36.2% 0.092 132.4);
Tailwind
colors: {
  custom: {
    50: '#677a4f',
    500: '#2a470b',
    950: '#000000',
  },
}
SCSS
$custom: #2a470b;
$custom-light: #677a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a470b",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 89,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36162,
    "c": 0.09161,
    "h": 132.4
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#2A470B
secondary
#552A83
accent
#38F091
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A470B

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

Preview Lab → · Contrast checker → · Palette generator →

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