#CFCD5C#CFCD5C

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

Color values

HEX#CFCD5C
RGBrgb(207, 205, 92)
HSLhsl(59, 55%, 59%)
HSVhsv(59, 56%, 81%)
CMYKcmyk(0%, 1%, 55.6%, 18.8%)
CIE-LABlab(80.57, -13.99, 55.43)
CIE-LCHlch(80.57, 57.17, 104.17°)
OKLaboklab(82.77% -0.042 0.1286)
OKLCHoklch(82.77% 0.135 108.1)
XYZxyz(49.4966, 57.7021, 18.6534)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD5C #5C5ECF
analogous
#CF935C #CFCD5C #97CF5C
triadic
#CFCD5C #5CCFCD #CD5CCF
tetradic
#CFCD5C #5CCF93 #5C5ECF #CF5C97
square
#CFCD5C #5CCF93 #5C5ECF #CF5C97
split-complementary
#CFCD5C #5C97CF #935CCF
monochromatic
#888728 #B8B536 #CFCD5C #DDDC8B #EBEABB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD5C#FFFFFF#000000##000000
##CFCD5C1.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)
#DCC650
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#DCC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd5c;
/* rgb */ color: rgb(207, 205, 92);
/* oklch */ color: oklch(82.8% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#e0dc8e',
    500: '#cfcd5c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd5c;
$custom-light: #e0dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd5c",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 58.957,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82768,
    "c": 0.13532,
    "h": 108.1
  },
  "luminance": 0.57701
}

Semantic roles & 50–950 ramp

primary
#CFCD5C
secondary
#40418F
accent
#4DDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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