#CFAD47#CFAD47

#CFAD47 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.9% C 0.126 H 90.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CFAD47
RGBrgb(207, 173, 71)
HSLhsl(45, 59%, 55%)
HSVhsv(45, 66%, 81%)
CMYKcmyk(0%, 16.4%, 65.7%, 18.8%)
CIE-LABlab(71.97, 1.11, 55.31)
CIE-LCHlch(71.97, 55.32, 88.85°)
OKLaboklab(75.88% -0.0012 0.1256)
OKLCHoklch(75.88% 0.126 90.5)
XYZxyz(41.8152, 43.6099, 12.1751)
Luminance0.4361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAD47 #4769CF
analogous
#CF6947 #CFAD47 #ADCF47
triadic
#CFAD47 #47CFAD #AD47CF
tetradic
#CFAD47 #47CF69 #4769CF #CF47AD
square
#CFAD47 #47CF69 #4769CF #CF47AD
split-complementary
#CFAD47 #47ADCF #6947CF
monochromatic
#7B6520 #AC8C2D #CFAD47 #DCC378 #E8D8A8

Accessibility & contrast

On white

2.16
#CFAD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CFAD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAD47
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAD47#FFFFFF#000000##000000
##CFAD471.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3B
Deuteranopia (green-blind)
#C8B44C
Tritanopia (blue-blind)
#DFA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cfad47;
/* rgb */ color: rgb(207, 173, 71);
/* oklch */ color: oklch(75.9% 0.126 90.5);
Tailwind
colors: {
  custom: {
    50: '#e1c57f',
    500: '#cfad47',
    950: '#000000',
  },
}
SCSS
$custom: #cfad47;
$custom-light: #e1c57f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfad47",
  "rgb": {
    "r": 207,
    "g": 173,
    "b": 71
  },
  "hsl": {
    "h": 45,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75882,
    "c": 0.12558,
    "h": 90.5
  },
  "luminance": 0.43607
}

Semantic roles & 50–950 ramp

primary
#CFAD47
secondary
#9CABD6
accent
#6DE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAD47

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

Preview Lab → · Contrast checker → · Palette generator →

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