#CFCD58#CFCD58

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

Color values

HEX#CFCD58
RGBrgb(207, 205, 88)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 57%, 81%)
CMYKcmyk(0%, 1%, 57.5%, 18.8%)
CIE-LABlab(80.53, -14.29, 57.17)
CIE-LCHlch(80.53, 58.93, 104.04°)
OKLaboklab(82.73% -0.0433 0.1319)
OKLCHoklch(82.73% 0.139 108.2)
XYZxyz(49.3263, 57.6340, 17.7567)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD58 #585ACF
analogous
#CF9258 #CFCD58 #95CF58
triadic
#CFCD58 #58CFCD #CD58CF
tetradic
#CFCD58 #58CF92 #585ACF #CF5895
square
#CFCD58 #58CF92 #585ACF #CF5895
split-complementary
#CFCD58 #5895CF #9258CF
monochromatic
#868427 #B6B334 #CFCD58 #DDDB88 #EAE9B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD58#FFFFFF#000000##000000
##CFCD581.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)
#DCC54B
Deuteranopia (green-blind)
#DECA5F
Tritanopia (blue-blind)
#DCC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd58;
/* rgb */ color: rgb(207, 205, 88);
/* oklch */ color: oklch(82.7% 0.139 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0dc8b',
    500: '#cfcd58',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd58;
$custom-light: #e0dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd58",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 58.992,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82726,
    "c": 0.13879,
    "h": 108.2
  },
  "luminance": 0.57633
}

Semantic roles & 50–950 ramp

primary
#CFCD58
secondary
#3E408D
accent
#4CDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCD58

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

Preview Lab → · Contrast checker → · Palette generator →

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