#CFAE39#CFAE39

#CFAE39 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 76.0% C 0.136 H 92.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CFAE39
RGBrgb(207, 174, 57)
HSLhsl(47, 61%, 52%)
HSVhsv(47, 72%, 81%)
CMYKcmyk(0%, 15.9%, 72.5%, 18.8%)
CIE-LABlab(72.12, -0.17, 61.27)
CIE-LCHlch(72.12, 61.27, 90.16°)
OKLaboklab(75.97% -0.0065 0.1358)
OKLCHoklch(75.97% 0.136 92.7)
XYZxyz(41.6089, 43.8353, 10.1396)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE39 #395ACF
analogous
#CF6339 #CFAE39 #A5CF39
triadic
#CFAE39 #39CFAE #AE39CF
tetradic
#CFAE39 #39CF63 #395ACF #CF39A5
square
#CFAE39 #39CF63 #395ACF #CF39A5
split-complementary
#CFAE39 #39A5CF #6339CF
monochromatic
#725F1C #A38828 #CFAE39 #DBC26A #E7D69C

Accessibility & contrast

On white

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

On black

9.77
#CFAE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE39
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE39#FFFFFF#000000##000000
##CFAE391.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB27
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae39;
/* rgb */ color: rgb(207, 174, 57);
/* oklch */ color: oklch(76.0% 0.136 92.7);
Tailwind
colors: {
  custom: {
    50: '#e2c577',
    500: '#cfae39',
    950: '#000000',
  },
}
SCSS
$custom: #cfae39;
$custom-light: #e2c577;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae39",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 46.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75967,
    "c": 0.13592,
    "h": 92.7
  },
  "luminance": 0.43833
}

Semantic roles & 50–950 ramp

primary
#CFAE39
secondary
#919FD3
accent
#67E444
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAE39

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

Preview Lab → · Contrast checker → · Palette generator →

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