#2A470E#2A470E

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

Color values

HEX#2A470E
RGBrgb(42, 71, 14)
HSLhsl(91, 67%, 17%)
HSVhsv(91, 80%, 28%)
CMYKcmyk(40.8%, 0%, 80.3%, 72.2%)
CIE-LABlab(26.82, -21.67, 29.16)
CIE-LCHlch(26.82, 36.33, 126.61°)
OKLaboklab(36.19% -0.0609 0.0656)
OKLCHoklch(36.19% 0.09 132.9)
XYZxyz(3.2873, 5.0303, 1.2131)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A470E #2B0E47
analogous
#47470E #2A470E #0E470E
triadic
#2A470E #0E2A47 #470E2A
tetradic
#2A470E #0E4747 #2B0E47 #470E0E
square
#2A470E #0E4747 #2B0E47 #470E0E
split-complementary
#2A470E #0E0E47 #470E47
monochromatic
#0F1A05 #0F1A05 #2A470E #487A18 #66AD22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2a470e;
/* rgb */ color: rgb(42, 71, 14);
/* oklch */ color: oklch(36.2% 0.090 132.9);
Tailwind
colors: {
  custom: {
    50: '#677a51',
    500: '#2a470e',
    950: '#000000',
  },
}
SCSS
$custom: #2a470e;
$custom-light: #677a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a470e",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 90.526,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36186,
    "c": 0.08955,
    "h": 132.9
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#2A470E
secondary
#592F82
accent
#3EEA95
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A470E

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

Preview Lab → · Contrast checker → · Palette generator →

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