#CFC153#CFC153

#CFC153 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.131 H 102.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CFC153
RGBrgb(207, 193, 83)
HSLhsl(53, 56%, 57%)
HSVhsv(53, 60%, 81%)
CMYKcmyk(0%, 6.8%, 59.9%, 18.8%)
CIE-LABlab(77.30, -8.55, 55.80)
CIE-LCHlch(77.30, 56.45, 98.72°)
OKLaboklab(80.14% -0.0275 0.1283)
OKLCHoklch(80.14% 0.131 102.1)
XYZxyz(46.3651, 52.0316, 15.7828)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC153 #5361CF
analogous
#CF8353 #CFC153 #9FCF53
triadic
#CFC153 #53CFC1 #C153CF
tetradic
#CFC153 #53CF83 #5361CF #CF539F
square
#CFC153 #53CF83 #5361CF #CF539F
split-complementary
#CFC153 #539FCF #8353CF
monochromatic
#837825 #B3A432 #CFC153 #DCD283 #EAE3B3

Accessibility & contrast

On white

1.84
#CFC153 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CFC153 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC153
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC153#FFFFFF#000000##000000
##CFC1531.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB47
Deuteranopia (green-blind)
#D5C259
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc153;
/* rgb */ color: rgb(207, 193, 83);
/* oklch */ color: oklch(80.1% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#e0d387',
    500: '#cfc153',
    950: '#000000',
  },
}
SCSS
$custom: #cfc153;
$custom-light: #e0d387;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc153",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 83
  },
  "hsl": {
    "h": 53.226,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80137,
    "c": 0.13123,
    "h": 102.1
  },
  "luminance": 0.5203
}

Semantic roles & 50–950 ramp

primary
#CFC153
secondary
#3C458A
accent
#59E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC153

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

Preview Lab → · Contrast checker → · Palette generator →

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