#CFCA5A#CFCA5A

#CFCA5A is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.134 H 106.6°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CFCA5A
RGBrgb(207, 202, 90)
HSLhsl(57, 55%, 58%)
HSVhsv(57, 57%, 81%)
CMYKcmyk(0%, 2.4%, 56.5%, 18.8%)
CIE-LABlab(79.75, -12.63, 55.40)
CIE-LCHlch(79.75, 56.83, 102.85°)
OKLaboklab(82.11% -0.0383 0.1283)
OKLCHoklch(82.11% 0.134 106.6)
XYZxyz(48.6996, 56.2461, 17.9621)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA5A #5A5FCF
analogous
#CF8F5A #CFCA5A #99CF5A
triadic
#CFCA5A #5ACFCA #CA5ACF
tetradic
#CFCA5A #5ACF8F #5A5FCF #CF5A99
square
#CFCA5A #5ACF8F #5A5FCF #CF5A99
split-complementary
#CFCA5A #5A99CF #8F5ACF
monochromatic
#878327 #B7B135 #CFCA5A #DDD989 #EBE8B9

Accessibility & contrast

On white

1.71
#CFCA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CFCA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA5A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA5A#FFFFFF#000000##000000
##CFCA5A1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#DDBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca5a;
/* rgb */ color: rgb(207, 202, 90);
/* oklch */ color: oklch(82.1% 0.134 106.6);
Tailwind
colors: {
  custom: {
    50: '#e0d98c',
    500: '#cfca5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfca5a;
$custom-light: #e0d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca5a",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 57.436,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82109,
    "c": 0.13395,
    "h": 106.6
  },
  "luminance": 0.56245
}

Semantic roles & 50–950 ramp

primary
#CFCA5A
secondary
#3F438E
accent
#50DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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