#CFC053#CFC053

#CFC053 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.130 H 101.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CFC053
RGBrgb(207, 192, 83)
HSLhsl(53, 56%, 57%)
HSVhsv(53, 60%, 81%)
CMYKcmyk(0%, 7.2%, 59.9%, 18.8%)
CIE-LABlab(77.04, -8.04, 55.51)
CIE-LCHlch(77.04, 56.09, 98.24°)
OKLaboklab(79.93% -0.026 0.1277)
OKLCHoklch(79.93% 0.13 101.5)
XYZxyz(46.1448, 51.5910, 15.7093)
Luminance0.5159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC053 #5362CF
analogous
#CF8253 #CFC053 #A0CF53
triadic
#CFC053 #53CFC0 #C053CF
tetradic
#CFC053 #53CF82 #5362CF #CF53A0
square
#CFC053 #53CF82 #5362CF #CF53A0
split-complementary
#CFC053 #53A0CF #8253CF
monochromatic
#837825 #B3A332 #CFC053 #DCD283 #EAE3B3

Accessibility & contrast

On white

1.86
#CFC053 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CFC053 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC053
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC053#FFFFFF#000000##000000
##CFC0531.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB47
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#DEB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc053;
/* rgb */ color: rgb(207, 192, 83);
/* oklch */ color: oklch(79.9% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#e0d287',
    500: '#cfc053',
    950: '#000000',
  },
}
SCSS
$custom: #cfc053;
$custom-light: #e0d287;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc053",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 83
  },
  "hsl": {
    "h": 52.742,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79927,
    "c": 0.13033,
    "h": 101.5
  },
  "luminance": 0.51589
}

Semantic roles & 50–950 ramp

primary
#CFC053
secondary
#3C458A
accent
#5AE048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC053

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

Preview Lab → · Contrast checker → · Palette generator →

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