#474E14#474E14

#474E14 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.5% C 0.080 H 116.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#474E14
RGBrgb(71, 78, 20)
HSLhsl(67, 59%, 19%)
HSVhsv(67, 74%, 31%)
CMYKcmyk(9%, 0%, 74.4%, 69.4%)
CIE-LABlab(31.44, -11.67, 31.85)
CIE-LCHlch(31.44, 33.93, 110.13°)
OKLaboklab(40.49% -0.0349 0.0716)
OKLCHoklch(40.49% 0.08 116)
XYZxyz(5.4493, 6.8390, 1.6947)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E14 #1B144E
analogous
#4E3814 #474E14 #2A4E14
triadic
#474E14 #14474E #4E1447
tetradic
#474E14 #144E38 #1B144E #4E142A
square
#474E14 #144E38 #1B144E #4E142A
split-complementary
#474E14 #142A4E #38144E
monochromatic
#161806 #1B1D08 #474E14 #737F20 #A0AF2D

Accessibility & contrast

On white

8.87
#474E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#474E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E14
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E14#FFFFFF#000000##FFFFFF
##474E141.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#4C4942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e14;
/* rgb */ color: rgb(71, 78, 20);
/* oklch */ color: oklch(40.5% 0.080 116.0);
Tailwind
colors: {
  custom: {
    50: '#7c7f55',
    500: '#474e14',
    950: '#000000',
  },
}
SCSS
$custom: #474e14;
$custom-light: #7c7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#474e14",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 67.241,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40493,
    "c": 0.07965,
    "h": 116
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#474E14
secondary
#413886
accent
#45E258
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474E14

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

Preview Lab → · Contrast checker → · Palette generator →

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