#474107#474107

#474107 is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 37.0% C 0.073 H 103.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#474107
RGBrgb(71, 65, 7)
HSLhsl(54, 82%, 15%)
HSVhsv(54, 90%, 28%)
CMYKcmyk(0%, 8.5%, 90.1%, 72.2%)
CIE-LABlab(27.12, -4.61, 33.11)
CIE-LCHlch(27.12, 33.43, 97.92°)
OKLaboklab(37.01% -0.0166 0.0715)
OKLCHoklch(37.01% 0.073 103.1)
XYZxyz(4.5274, 5.1357, 0.9538)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474107 #070D47
analogous
#472107 #474107 #2D4707
triadic
#474107 #074741 #410747
tetradic
#474107 #074721 #070D47 #47072D
square
#474107 #074721 #070D47 #47072D
split-complementary
#474107 #072D47 #210747
monochromatic
#1C1903 #1C1903 #474107 #7F740C #B6A712

Accessibility & contrast

On white

10.36
#474107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#474107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474107
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474107#FFFFFF#000000##FFFFFF
##4741071.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F00
Deuteranopia (green-blind)
#4A410C
Tritanopia (blue-blind)
#4D3C36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #474107;
/* rgb */ color: rgb(71, 65, 7);
/* oklch */ color: oklch(37.0% 0.073 103.1);
Tailwind
colors: {
  custom: {
    50: '#7d754d',
    500: '#474107',
    950: '#000000',
  },
}
SCSS
$custom: #474107;
$custom-light: #7d754d;
$custom-dark: #000000;
JSON
{
  "hex": "#474107",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 54.375,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.37014,
    "c": 0.07336,
    "h": 103.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#474107
secondary
#242D86
accent
#42F82F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0801
muted
#7C7B77

Preview Lab

Preview with #474107

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

Preview Lab → · Contrast checker → · Palette generator →

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