#CFCD5D#CFCD5D

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

Color values

HEX#CFCD5D
RGBrgb(207, 205, 93)
HSLhsl(59, 54%, 59%)
HSVhsv(59, 55%, 81%)
CMYKcmyk(0%, 1%, 55.1%, 18.8%)
CIE-LABlab(80.58, -13.92, 54.99)
CIE-LCHlch(80.58, 56.72, 104.20°)
OKLaboklab(82.78% -0.0417 0.1278)
OKLCHoklch(82.78% 0.134 108.1)
XYZxyz(49.5406, 57.7197, 18.8852)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD5D #5D5FCF
analogous
#CF945D #CFCD5D #98CF5D
triadic
#CFCD5D #5DCFCD #CD5DCF
tetradic
#CFCD5D #5DCF94 #5D5FCF #CF5D98
square
#CFCD5D #5DCF94 #5D5FCF #CF5D98
split-complementary
#CFCD5D #5D98CF #945DCF
monochromatic
#898729 #B8B637 #CFCD5D #DDDC8C #EBEABB

Accessibility & contrast

On white

1.67
#CFCD5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CFCD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD5D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD5D#FFFFFF#000000##000000
##CFCD5D1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd5d;
/* rgb */ color: rgb(207, 205, 93);
/* oklch */ color: oklch(82.8% 0.134 108.1);
Tailwind
colors: {
  custom: {
    50: '#e0dc8e',
    500: '#cfcd5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd5d;
$custom-light: #e0dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd5d",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 58.947,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82779,
    "c": 0.13442,
    "h": 108.1
  },
  "luminance": 0.57718
}

Semantic roles & 50–950 ramp

primary
#CFCD5D
secondary
#414290
accent
#4DDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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