#CFCD5F#CFCD5F

#CFCD5F is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.133 H 108.0°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CFCD5F
RGBrgb(207, 205, 95)
HSLhsl(59, 54%, 59%)
HSVhsv(59, 54%, 81%)
CMYKcmyk(0%, 1%, 54.1%, 18.8%)
CIE-LABlab(80.60, -13.76, 54.10)
CIE-LCHlch(80.60, 55.82, 104.27°)
OKLaboklab(82.8% -0.041 0.1261)
OKLCHoklch(82.8% 0.133 108)
XYZxyz(49.6304, 57.7556, 19.3578)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD5F #5F61CF
analogous
#CF955F #CFCD5F #99CF5F
triadic
#CFCD5F #5FCFCD #CD5FCF
tetradic
#CFCD5F #5FCF95 #5F61CF #CF5F99
square
#CFCD5F #5FCF95 #5F61CF #CF5F99
split-complementary
#CFCD5F #5F99CF #955FCF
monochromatic
#8A8829 #B9B738 #CFCD5F #DDDC8E #EBEABD

Accessibility & contrast

On white

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

On black

12.55
#CFCD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD5F
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD5F#FFFFFF#000000##000000
##CFCD5F1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#DCC1B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd5f;
/* rgb */ color: rgb(207, 205, 95);
/* oklch */ color: oklch(82.8% 0.133 108.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc90',
    500: '#cfcd5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd5f;
$custom-light: #e0dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd5f",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 58.929,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82801,
    "c": 0.13261,
    "h": 108
  },
  "luminance": 0.57754
}

Semantic roles & 50–950 ramp

primary
#CFCD5F
secondary
#414391
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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