#475111#475111

#475111 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.3% C 0.086 H 118.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#475111
RGBrgb(71, 81, 17)
HSLhsl(69, 65%, 19%)
HSVhsv(69, 79%, 32%)
CMYKcmyk(12.3%, 0%, 79%, 68.2%)
CIE-LABlab(32.40, -13.58, 34.11)
CIE-LCHlch(32.40, 36.71, 111.72°)
OKLaboklab(41.26% -0.0405 0.0758)
OKLCHoklch(41.26% 0.086 118.1)
XYZxyz(5.6423, 7.2650, 1.6352)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475111 #1B1151
analogous
#513B11 #475111 #275111
triadic
#475111 #114751 #511147
tetradic
#475111 #11513B #1B1151 #511127
square
#475111 #11513B #1B1151 #511127
split-complementary
#475111 #112751 #3B1151
monochromatic
#161905 #1B1E06 #475111 #73841C #A0B626

Accessibility & contrast

On white

8.56
#475111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#475111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475111
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475111#FFFFFF#000000##FFFFFF
##4751111.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#4C4C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #475111;
/* rgb */ color: rgb(71, 81, 17);
/* oklch */ color: oklch(41.3% 0.086 118.1);
Tailwind
colors: {
  custom: {
    50: '#7c8154',
    500: '#475111',
    950: '#000000',
  },
}
SCSS
$custom: #475111;
$custom-light: #7c8154;
$custom-dark: #000000;
JSON
{
  "hex": "#475111",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 69.375,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.08593,
    "h": 118.1
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#475111
secondary
#41348A
accent
#40E85A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475111

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

Preview Lab → · Contrast checker → · Palette generator →

#475111 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva