#CFC853#CFC853

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

Color values

HEX#CFC853
RGBrgb(207, 200, 83)
HSLhsl(57, 56%, 57%)
HSVhsv(57, 60%, 81%)
CMYKcmyk(0%, 3.4%, 59.9%, 18.8%)
CIE-LABlab(79.16, -12.12, 57.84)
CIE-LCHlch(79.16, 59.10, 101.84°)
OKLaboklab(81.61% -0.0377 0.1327)
OKLCHoklch(81.61% 0.138 105.9)
XYZxyz(47.9493, 55.2001, 16.3108)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC853 #535ACF
analogous
#CF8A53 #CFC853 #98CF53
triadic
#CFC853 #53CFC8 #C853CF
tetradic
#CFC853 #53CF8A #535ACF #CF5398
square
#CFC853 #53CF8A #535ACF #CF5398
split-complementary
#CFC853 #5398CF #8A53CF
monochromatic
#837E25 #B3AC32 #CFC853 #DCD783 #EAE7B3

Accessibility & contrast

On white

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

On black

12.04
#CFC853 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC853
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC853#FFFFFF#000000##000000
##CFC8531.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc853;
/* rgb */ color: rgb(207, 200, 83);
/* oklch */ color: oklch(81.6% 0.138 105.9);
Tailwind
colors: {
  custom: {
    50: '#e0d888',
    500: '#cfc853',
    950: '#000000',
  },
}
SCSS
$custom: #cfc853;
$custom-light: #e0d888;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc853",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 83
  },
  "hsl": {
    "h": 56.613,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81613,
    "c": 0.13791,
    "h": 105.9
  },
  "luminance": 0.55198
}

Semantic roles & 50–950 ramp

primary
#CFC853
secondary
#3C408A
accent
#51E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC853

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

Preview Lab → · Contrast checker → · Palette generator →

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