#CFAE41#CFAE41

#CFAE41 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.131 H 91.9°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CFAE41
RGBrgb(207, 174, 65)
HSLhsl(46, 60%, 53%)
HSVhsv(46, 69%, 81%)
CMYKcmyk(0%, 15.9%, 68.6%, 18.8%)
CIE-LABlab(72.18, 0.24, 58.11)
CIE-LCHlch(72.18, 58.11, 89.77°)
OKLaboklab(76.03% -0.0044 0.1305)
OKLCHoklch(76.03% 0.131 91.9)
XYZxyz(41.8245, 43.9215, 11.2747)
Luminance0.4392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE41 #4162CF
analogous
#CF6741 #CFAE41 #A9CF41
triadic
#CFAE41 #41CFAE #AE41CF
tetradic
#CFAE41 #41CF67 #4162CF #CF41A9
square
#CFAE41 #41CF67 #4162CF #CF41A9
split-complementary
#CFAE41 #41A9CF #6741CF
monochromatic
#77631E #A88B2B #CFAE41 #DBC372 #E8D8A3

Accessibility & contrast

On white

2.15
#CFAE41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CFAE41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE41
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE41#FFFFFF#000000##000000
##CFAE411.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB33
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#DFA097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae41;
/* rgb */ color: rgb(207, 174, 65);
/* oklch */ color: oklch(76.0% 0.131 91.9);
Tailwind
colors: {
  custom: {
    50: '#e1c57b',
    500: '#cfae41',
    950: '#000000',
  },
}
SCSS
$custom: #cfae41;
$custom-light: #e1c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae41",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 65
  },
  "hsl": {
    "h": 46.056,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76031,
    "c": 0.13058,
    "h": 91.9
  },
  "luminance": 0.43919
}

Semantic roles & 50–950 ramp

primary
#CFAE41
secondary
#97A6D4
accent
#6AE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAE41

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

Preview Lab → · Contrast checker → · Palette generator →

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