#CFCD5A#CFCD5A

#CFCD5A is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.137 H 108.1°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CFCD5A
RGBrgb(207, 205, 90)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 57%, 81%)
CMYKcmyk(0%, 1%, 56.5%, 18.8%)
CIE-LABlab(80.55, -14.15, 56.30)
CIE-LCHlch(80.55, 58.05, 104.10°)
OKLaboklab(82.75% -0.0426 0.1303)
OKLCHoklch(82.75% 0.137 108.1)
XYZxyz(49.4103, 57.6676, 18.1991)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD5A #5A5CCF
analogous
#CF925A #CFCD5A #96CF5A
triadic
#CFCD5A #5ACFCD #CD5ACF
tetradic
#CFCD5A #5ACF92 #5A5CCF #CF5A96
square
#CFCD5A #5ACF92 #5A5CCF #CF5A96
split-complementary
#CFCD5A #5A96CF #925ACF
monochromatic
#878627 #B7B435 #CFCD5A #DDDB89 #EBEAB9

Accessibility & contrast

On white

1.68
#CFCD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CFCD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD5A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD5A#FFFFFF#000000##000000
##CFCD5A1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64E
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#DCC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd5a;
/* rgb */ color: rgb(207, 205, 90);
/* oklch */ color: oklch(82.7% 0.137 108.1);
Tailwind
colors: {
  custom: {
    50: '#e0dc8d',
    500: '#cfcd5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd5a;
$custom-light: #e0dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd5a",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 58.974,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82747,
    "c": 0.13707,
    "h": 108.1
  },
  "luminance": 0.57666
}

Semantic roles & 50–950 ramp

primary
#CFCD5A
secondary
#3F408E
accent
#4CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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