#CFAE48#CFAE48

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

Color values

HEX#CFAE48
RGBrgb(207, 174, 72)
HSLhsl(45, 58%, 55%)
HSVhsv(45, 65%, 81%)
CMYKcmyk(0%, 15.9%, 65.2%, 18.8%)
CIE-LABlab(72.23, 0.64, 55.16)
CIE-LCHlch(72.23, 55.16, 89.33°)
OKLaboklab(76.1% -0.0024 0.1254)
OKLCHoklch(76.1% 0.125 91.1)
XYZxyz(42.0400, 44.0077, 12.4097)
Luminance0.4400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE48 #4869CF
analogous
#CF6A48 #CFAE48 #ADCF48
triadic
#CFAE48 #48CFAE #AE48CF
tetradic
#CFAE48 #48CF6A #4869CF #CF48AD
square
#CFAE48 #48CF6A #4869CF #CF48AD
split-complementary
#CFAE48 #48ADCF #6A48CF
monochromatic
#7C6621 #AD8D2D #CFAE48 #DCC378 #E8D9A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAE48#FFFFFF#000000##000000
##CFAE481.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)
#C0AC3C
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae48;
/* rgb */ color: rgb(207, 174, 72);
/* oklch */ color: oklch(76.1% 0.125 91.1);
Tailwind
colors: {
  custom: {
    50: '#e1c57f',
    500: '#cfae48',
    950: '#000000',
  },
}
SCSS
$custom: #cfae48;
$custom-light: #e1c57f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae48",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 72
  },
  "hsl": {
    "h": 45.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76095,
    "c": 0.12541,
    "h": 91.1
  },
  "luminance": 0.44005
}

Semantic roles & 50–950 ramp

primary
#CFAE48
secondary
#9DABD6
accent
#6CE246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAE48

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

Preview Lab → · Contrast checker → · Palette generator →

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