#CFC857#CFC857

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

Color values

HEX#CFC857
RGBrgb(207, 200, 87)
HSLhsl(57, 56%, 58%)
HSVhsv(57, 58%, 81%)
CMYKcmyk(0%, 3.4%, 58%, 18.8%)
CIE-LABlab(79.19, -11.84, 56.12)
CIE-LCHlch(79.19, 57.36, 101.92°)
OKLaboklab(81.65% -0.0364 0.1295)
OKLCHoklch(81.65% 0.135 105.7)
XYZxyz(48.1082, 55.2636, 17.1478)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC857 #575ECF
analogous
#CF8C57 #CFC857 #9ACF57
triadic
#CFC857 #57CFC8 #C857CF
tetradic
#CFC857 #57CF8C #575ECF #CF579A
square
#CFC857 #57CF8C #575ECF #CF579A
split-complementary
#CFC857 #579ACF #8C57CF
monochromatic
#858026 #B5AE34 #CFC857 #DDD887 #EAE7B6

Accessibility & contrast

On white

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

On black

12.05
#CFC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC857
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC857#FFFFFF#000000##000000
##CFC8571.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc857;
/* rgb */ color: rgb(207, 200, 87);
/* oklch */ color: oklch(81.7% 0.135 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d88a',
    500: '#cfc857',
    950: '#000000',
  },
}
SCSS
$custom: #cfc857;
$custom-light: #e0d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc857",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 56.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81654,
    "c": 0.13454,
    "h": 105.7
  },
  "luminance": 0.55262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC857

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

Preview Lab → · Contrast checker → · Palette generator →

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