#474F14#474F14

#474F14 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.081 H 116.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#474F14
RGBrgb(71, 79, 20)
HSLhsl(68, 60%, 19%)
HSVhsv(68, 75%, 31%)
CMYKcmyk(10.1%, 0%, 74.7%, 69%)
CIE-LABlab(31.77, -12.25, 32.19)
CIE-LCHlch(31.77, 34.44, 110.83°)
OKLaboklab(40.76% -0.0365 0.0723)
OKLCHoklch(40.76% 0.081 116.8)
XYZxyz(5.5209, 6.9821, 1.7185)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F14 #1C144F
analogous
#4F3A14 #474F14 #2A4F14
triadic
#474F14 #14474F #4F1447
tetradic
#474F14 #144F3A #1C144F #4F142A
square
#474F14 #144F3A #1C144F #4F142A
split-complementary
#474F14 #142A4F #3A144F
monochromatic
#161806 #1B1E08 #474F14 #738020 #9FB12D

Accessibility & contrast

On white

8.76
#474F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#474F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474F14
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F14#FFFFFF#000000##FFFFFF
##474F141.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0B
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#4C4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f14;
/* rgb */ color: rgb(71, 79, 20);
/* oklch */ color: oklch(40.8% 0.081 116.8);
Tailwind
colors: {
  custom: {
    50: '#7c8056',
    500: '#474f14',
    950: '#000000',
  },
}
SCSS
$custom: #474f14;
$custom-light: #7c8056;
$custom-dark: #000000;
JSON
{
  "hex": "#474f14",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 68.136,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.08099,
    "h": 116.8
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#474F14
secondary
#423887
accent
#45E35A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474F14

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

Preview Lab → · Contrast checker → · Palette generator →

#474F14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva