#2A470F#2A470F

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

Color values

HEX#2A470F
RGBrgb(42, 71, 15)
HSLhsl(91, 65%, 17%)
HSVhsv(91, 79%, 28%)
CMYKcmyk(40.8%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.83, -21.59, 28.73)
CIE-LCHlch(26.83, 35.93, 126.92°)
OKLaboklab(36.2% -0.0606 0.0649)
OKLCHoklch(36.2% 0.089 133.1)
XYZxyz(3.2943, 5.0331, 1.2497)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A470F #2C0F47
analogous
#46470F #2A470F #0F4710
triadic
#2A470F #0F2A47 #470F2A
tetradic
#2A470F #0F4647 #2C0F47 #47100F
square
#2A470F #0F4647 #2C0F47 #47100F
split-complementary
#2A470F #100F47 #470F46
monochromatic
#0F1905 #0F1905 #2A470F #487A1A #66AC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A470F#FFFFFF#000000##FFFFFF
##2A470F1.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)
#4A4106
Deuteranopia (green-blind)
#463F14
Tritanopia (blue-blind)
#2A443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a470f;
/* rgb */ color: rgb(42, 71, 15);
/* oklch */ color: oklch(36.2% 0.089 133.1);
Tailwind
colors: {
  custom: {
    50: '#667a51',
    500: '#2a470f',
    950: '#000000',
  },
}
SCSS
$custom: #2a470f;
$custom-light: #667a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a470f",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 91.071,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36195,
    "c": 0.0888,
    "h": 133.1
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#2A470F
secondary
#5A3081
accent
#40E897
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A470F

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

Preview Lab → · Contrast checker → · Palette generator →

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