#CFC953#CFC953

#CFC953 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.139 H 106.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CFC953
RGBrgb(207, 201, 83)
HSLhsl(57, 56%, 57%)
HSVhsv(57, 60%, 81%)
CMYKcmyk(0%, 2.9%, 59.9%, 18.8%)
CIE-LABlab(79.42, -12.63, 58.13)
CIE-LCHlch(79.42, 59.49, 102.26°)
OKLaboklab(81.83% -0.0391 0.1333)
OKLCHoklch(81.83% 0.139 106.4)
XYZxyz(48.1817, 55.6648, 16.3883)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC953 #5359CF
analogous
#CF8B53 #CFC953 #97CF53
triadic
#CFC953 #53CFC9 #C953CF
tetradic
#CFC953 #53CF8B #5359CF #CF5397
square
#CFC953 #53CF8B #5359CF #CF5397
split-complementary
#CFC953 #5397CF #8B53CF
monochromatic
#837E25 #B3AD32 #CFC953 #DCD883 #EAE7B3

Accessibility & contrast

On white

1.73
#CFC953 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#CFC953 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC953
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC953#FFFFFF#000000##000000
##CFC9531.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C246
Deuteranopia (green-blind)
#DCC75A
Tritanopia (blue-blind)
#DDBDB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc953;
/* rgb */ color: rgb(207, 201, 83);
/* oklch */ color: oklch(81.8% 0.139 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d988',
    500: '#cfc953',
    950: '#000000',
  },
}
SCSS
$custom: #cfc953;
$custom-light: #e0d988;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc953",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 83
  },
  "hsl": {
    "h": 57.097,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81825,
    "c": 0.13891,
    "h": 106.4
  },
  "luminance": 0.55663
}

Semantic roles & 50–950 ramp

primary
#CFC953
secondary
#3C408A
accent
#4FE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC953

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

Preview Lab → · Contrast checker → · Palette generator →

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