#CFAE4A#CFAE4A

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

Color values

HEX#CFAE4A
RGBrgb(207, 174, 74)
HSLhsl(45, 58%, 55%)
HSVhsv(45, 64%, 81%)
CMYKcmyk(0%, 15.9%, 64.3%, 18.8%)
CIE-LABlab(72.25, 0.77, 54.29)
CIE-LCHlch(72.25, 54.29, 89.19°)
OKLaboklab(76.11% -0.0018 0.1238)
OKLCHoklch(76.11% 0.124 90.8)
XYZxyz(42.1063, 44.0343, 12.7589)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE4A #4A6BCF
analogous
#CF6C4A #CFAE4A #ADCF4A
triadic
#CFAE4A #4ACFAE #AE4ACF
tetradic
#CFAE4A #4ACF6C #4A6BCF #CF4AAD
square
#CFAE4A #4ACF6C #4A6BCF #CF4AAD
split-complementary
#CFAE4A #4AADCF #6C4ACF
monochromatic
#7D6721 #AE8E2E #CFAE4A #DCC47A #E9D9AB

Accessibility & contrast

On white

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

On black

9.81
#CFAE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE4A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE4A#FFFFFF#000000##000000
##CFAE4A1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3F
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#DFA199
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae4a;
/* rgb */ color: rgb(207, 174, 74);
/* oklch */ color: oklch(76.1% 0.124 90.8);
Tailwind
colors: {
  custom: {
    50: '#e1c581',
    500: '#cfae4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfae4a;
$custom-light: #e1c581;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae4a",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 74
  },
  "hsl": {
    "h": 45.113,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76115,
    "c": 0.12385,
    "h": 90.8
  },
  "luminance": 0.44032
}

Semantic roles & 50–950 ramp

primary
#CFAE4A
secondary
#9FACD6
accent
#6DE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFAE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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