#CFC858#CFC858

#CFC858 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.134 H 105.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CFC858
RGBrgb(207, 200, 88)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.4%, 57.5%, 18.8%)
CIE-LABlab(79.20, -11.77, 55.68)
CIE-LCHlch(79.20, 56.91, 101.94°)
OKLaboklab(81.66% -0.0361 0.1287)
OKLCHoklch(81.66% 0.134 105.7)
XYZxyz(48.1494, 55.2801, 17.3644)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC858 #585FCF
analogous
#CF8D58 #CFC858 #9ACF58
triadic
#CFC858 #58CFC8 #C858CF
tetradic
#CFC858 #58CF8D #585FCF #CF589A
square
#CFC858 #58CF8D #585FCF #CF589A
split-complementary
#CFC858 #589ACF #8D58CF
monochromatic
#868027 #B6AE34 #CFC858 #DDD888 #EAE7B7

Accessibility & contrast

On white

1.74
#CFC858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CFC858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC858
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC858#FFFFFF#000000##000000
##CFC8581.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#DDBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc858;
/* rgb */ color: rgb(207, 200, 88);
/* oklch */ color: oklch(81.7% 0.134 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d88b',
    500: '#cfc858',
    950: '#000000',
  },
}
SCSS
$custom: #cfc858;
$custom-light: #e0d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc858",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 56.471,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81664,
    "c": 0.13367,
    "h": 105.7
  },
  "luminance": 0.55279
}

Semantic roles & 50–950 ramp

primary
#CFC858
secondary
#3E438D
accent
#52DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC858

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

Preview Lab → · Contrast checker → · Palette generator →

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