#2A470D#2A470D

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

Color values

HEX#2A470D
RGBrgb(42, 71, 13)
HSLhsl(90, 69%, 16%)
HSVhsv(90, 82%, 28%)
CMYKcmyk(40.8%, 0%, 81.7%, 72.2%)
CIE-LABlab(26.81, -21.74, 29.58)
CIE-LCHlch(26.81, 36.71, 126.32°)
OKLaboklab(36.18% -0.0612 0.0663)
OKLCHoklch(36.18% 0.09 132.7)
XYZxyz(3.2807, 5.0276, 1.1783)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A470D #2A0D47
analogous
#47470D #2A470D #0D470D
triadic
#2A470D #0D2A47 #470D2A
tetradic
#2A470D #0D4747 #2A0D47 #470D0D
square
#2A470D #0D4747 #2A0D47 #470D0D
split-complementary
#2A470D #0D0D47 #470D47
monochromatic
#0F1A05 #0F1A05 #2A470D #497B16 #67AE20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A470D#FFFFFF#000000##FFFFFF
##2A470D1.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)
#4A4104
Deuteranopia (green-blind)
#463F13
Tritanopia (blue-blind)
#2A443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a470d;
/* rgb */ color: rgb(42, 71, 13);
/* oklch */ color: oklch(36.2% 0.090 132.7);
Tailwind
colors: {
  custom: {
    50: '#677a50',
    500: '#2a470d',
    950: '#000000',
  },
}
SCSS
$custom: #2a470d;
$custom-light: #677a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a470d",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 90,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36177,
    "c": 0.09026,
    "h": 132.7
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#2A470D
secondary
#582D82
accent
#3CEC94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A470D

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

Preview Lab → · Contrast checker → · Palette generator →

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