#CFC653#CFC653

#CFC653 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.136 H 104.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CFC653
RGBrgb(207, 198, 83)
HSLhsl(56, 56%, 57%)
HSVhsv(56, 60%, 81%)
CMYKcmyk(0%, 4.3%, 59.9%, 18.8%)
CIE-LABlab(78.62, -11.11, 57.26)
CIE-LCHlch(78.62, 58.33, 100.98°)
OKLaboklab(81.19% -0.0348 0.1314)
OKLCHoklch(81.19% 0.136 104.8)
XYZxyz(47.4892, 54.2797, 16.1574)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC653 #535CCF
analogous
#CF8853 #CFC653 #9ACF53
triadic
#CFC653 #53CFC6 #C653CF
tetradic
#CFC653 #53CF88 #535CCF #CF539A
square
#CFC653 #53CF88 #535CCF #CF539A
split-complementary
#CFC653 #539ACF #8853CF
monochromatic
#837C25 #B3AA32 #CFC653 #DCD683 #EAE6B3

Accessibility & contrast

On white

1.77
#CFC653 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CFC653 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC653
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC653#FFFFFF#000000##000000
##CFC6531.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF46
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc653;
/* rgb */ color: rgb(207, 198, 83);
/* oklch */ color: oklch(81.2% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#e0d788',
    500: '#cfc653',
    950: '#000000',
  },
}
SCSS
$custom: #cfc653;
$custom-light: #e0d788;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc653",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 83
  },
  "hsl": {
    "h": 55.645,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.13596,
    "h": 104.8
  },
  "luminance": 0.54278
}

Semantic roles & 50–950 ramp

primary
#CFC653
secondary
#3C428A
accent
#53E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC653

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

Preview Lab → · Contrast checker → · Palette generator →

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