#CFC15D#CFC15D

#CFC15D is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.122 H 101.4°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CFC15D
RGBrgb(207, 193, 93)
HSLhsl(53, 54%, 59%)
HSVhsv(53, 55%, 81%)
CMYKcmyk(0%, 6.8%, 55.1%, 18.8%)
CIE-LABlab(77.40, -7.81, 51.34)
CIE-LCHlch(77.40, 51.93, 98.65°)
OKLaboklab(80.25% -0.0242 0.12)
OKLCHoklch(80.25% 0.122 101.4)
XYZxyz(46.7794, 52.1974, 17.9648)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC15D #5D6BCF
analogous
#CF885D #CFC15D #A4CF5D
triadic
#CFC15D #5DCFC1 #C15DCF
tetradic
#CFC15D #5DCF88 #5D6BCF #CF5DA4
square
#CFC15D #5DCF88 #5D6BCF #CF5DA4
split-complementary
#CFC15D #5DA4CF #885DCF
monochromatic
#897D29 #B8A837 #CFC15D #DDD38C #EBE5BB

Accessibility & contrast

On white

1.84
#CFC15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CFC15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC15D
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC15D#FFFFFF#000000##000000
##CFC15D1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC53
Deuteranopia (green-blind)
#D5C262
Tritanopia (blue-blind)
#DDB5AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc15d;
/* rgb */ color: rgb(207, 193, 93);
/* oklch */ color: oklch(80.2% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#e0d38e',
    500: '#cfc15d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc15d;
$custom-light: #e0d38e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc15d",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 52.632,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80247,
    "c": 0.12237,
    "h": 101.4
  },
  "luminance": 0.52196
}

Semantic roles & 50–950 ramp

primary
#CFC15D
secondary
#414A90
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC15D

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

Preview Lab → · Contrast checker → · Palette generator →

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