#CFAE47#CFAE47

#CFAE47 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.126 H 91.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CFAE47
RGBrgb(207, 174, 71)
HSLhsl(45, 59%, 55%)
HSVhsv(45, 66%, 81%)
CMYKcmyk(0%, 15.9%, 65.7%, 18.8%)
CIE-LABlab(72.22, 0.58, 55.59)
CIE-LCHlch(72.22, 55.59, 89.40°)
OKLaboklab(76.09% -0.0027 0.1262)
OKLCHoklch(76.09% 0.126 91.2)
XYZxyz(42.0076, 43.9948, 12.2392)
Luminance0.4399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE47 #4768CF
analogous
#CF6A47 #CFAE47 #ACCF47
triadic
#CFAE47 #47CFAE #AE47CF
tetradic
#CFAE47 #47CF6A #4768CF #CF47AC
square
#CFAE47 #47CF6A #4768CF #CF47AC
split-complementary
#CFAE47 #47ACCF #6A47CF
monochromatic
#7B6520 #AC8D2D #CFAE47 #DCC378 #E8D9A8

Accessibility & contrast

On white

2.14
#CFAE47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CFAE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE47
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE47#FFFFFF#000000##000000
##CFAE471.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3B
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae47;
/* rgb */ color: rgb(207, 174, 71);
/* oklch */ color: oklch(76.1% 0.126 91.2);
Tailwind
colors: {
  custom: {
    50: '#e1c57f',
    500: '#cfae47',
    950: '#000000',
  },
}
SCSS
$custom: #cfae47;
$custom-light: #e1c57f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae47",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 71
  },
  "hsl": {
    "h": 45.441,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76086,
    "c": 0.12618,
    "h": 91.2
  },
  "luminance": 0.43992
}

Semantic roles & 50–950 ramp

primary
#CFAE47
secondary
#9CAAD6
accent
#6CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAE47

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

Preview Lab → · Contrast checker → · Palette generator →

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