#CFC855#CFC855

#CFC855 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.136 H 105.8°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CFC855
RGBrgb(207, 200, 85)
HSLhsl(57, 56%, 57%)
HSVhsv(57, 59%, 81%)
CMYKcmyk(0%, 3.4%, 58.9%, 18.8%)
CIE-LABlab(79.17, -11.99, 56.99)
CIE-LCHlch(79.17, 58.23, 101.88°)
OKLaboklab(81.63% -0.0371 0.1311)
OKLCHoklch(81.63% 0.136 105.8)
XYZxyz(48.0277, 55.2314, 16.7234)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC855 #555CCF
analogous
#CF8B55 #CFC855 #99CF55
triadic
#CFC855 #55CFC8 #C855CF
tetradic
#CFC855 #55CF8B #555CCF #CF5599
square
#CFC855 #55CF8B #555CCF #CF5599
split-complementary
#CFC855 #5599CF #8B55CF
monochromatic
#847F25 #B4AD33 #CFC855 #DCD785 #EAE7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC855#FFFFFF#000000##000000
##CFC8551.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)
#D8C148
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc855;
/* rgb */ color: rgb(207, 200, 85);
/* oklch */ color: oklch(81.6% 0.136 105.8);
Tailwind
colors: {
  custom: {
    50: '#e0d889',
    500: '#cfc855',
    950: '#000000',
  },
}
SCSS
$custom: #cfc855;
$custom-light: #e0d889;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc855",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 56.557,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81633,
    "c": 0.13624,
    "h": 105.8
  },
  "luminance": 0.5523
}

Semantic roles & 50–950 ramp

primary
#CFC855
secondary
#3D418B
accent
#51DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC855

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

Preview Lab → · Contrast checker → · Palette generator →

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