#CFAE46#CFAE46

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

Color values

HEX#CFAE46
RGBrgb(207, 174, 70)
HSLhsl(46, 59%, 54%)
HSVhsv(46, 66%, 81%)
CMYKcmyk(0%, 15.9%, 66.2%, 18.8%)
CIE-LABlab(72.22, 0.52, 56.02)
CIE-LCHlch(72.22, 56.02, 89.47°)
OKLaboklab(76.08% -0.003 0.1269)
OKLCHoklch(76.08% 0.127 91.3)
XYZxyz(41.9758, 43.9821, 12.0716)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE46 #4667CF
analogous
#CF6A46 #CFAE46 #ACCF46
triadic
#CFAE46 #46CFAE #AE46CF
tetradic
#CFAE46 #46CF6A #4667CF #CF46AC
square
#CFAE46 #46CF6A #4667CF #CF46AC
split-complementary
#CFAE46 #46ACCF #6A46CF
monochromatic
#7B6520 #AB8D2C #CFAE46 #DCC377 #E8D9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAE46#FFFFFF#000000##000000
##CFAE461.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)
#C0AC3A
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae46;
/* rgb */ color: rgb(207, 174, 70);
/* oklch */ color: oklch(76.1% 0.127 91.3);
Tailwind
colors: {
  custom: {
    50: '#e1c57e',
    500: '#cfae46',
    950: '#000000',
  },
}
SCSS
$custom: #cfae46;
$custom-light: #e1c57e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae46",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 70
  },
  "hsl": {
    "h": 45.547,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76076,
    "c": 0.12694,
    "h": 91.3
  },
  "luminance": 0.4398
}

Semantic roles & 50–950 ramp

primary
#CFAE46
secondary
#9BA9D5
accent
#6BE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAE46

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

Preview Lab → · Contrast checker → · Palette generator →

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