#474E0C#474E0C

#474E0C is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.4% C 0.085 H 115.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#474E0C
RGBrgb(71, 78, 12)
HSLhsl(66, 73%, 18%)
HSVhsv(66, 85%, 31%)
CMYKcmyk(9%, 0%, 84.6%, 69.4%)
CIE-LABlab(31.38, -12.14, 35.07)
CIE-LCHlch(31.38, 37.11, 109.10°)
OKLaboklab(40.43% -0.037 0.0768)
OKLCHoklch(40.43% 0.085 115.8)
XYZxyz(5.3894, 6.8150, 1.3793)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E0C #130C4E
analogous
#4E340C #474E0C #264E0C
triadic
#474E0C #0C474E #4E0C47
tetradic
#474E0C #0C4E34 #130C4E #4E0C26
square
#474E0C #0C4E34 #130C4E #4E0C26
split-complementary
#474E0C #0C264E #340C4E
monochromatic
#181B04 #181B04 #474E0C #778314 #A8B81C

Accessibility & contrast

On white

8.89
#474E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#474E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E0C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E0C#FFFFFF#000000##FFFFFF
##474E0C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#544A12
Tritanopia (blue-blind)
#4C4942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e0c;
/* rgb */ color: rgb(71, 78, 12);
/* oklch */ color: oklch(40.4% 0.085 115.8);
Tailwind
colors: {
  custom: {
    50: '#7d7f51',
    500: '#474e0c',
    950: '#000000',
  },
}
SCSS
$custom: #474e0c;
$custom-light: #7d7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#474e0c",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 66.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40431,
    "c": 0.08527,
    "h": 115.8
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#474E0C
secondary
#362C8A
accent
#38F04B
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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