#CFC253#CFC253

#CFC253 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.132 H 102.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CFC253
RGBrgb(207, 194, 83)
HSLhsl(54, 56%, 57%)
HSVhsv(54, 60%, 81%)
CMYKcmyk(0%, 6.3%, 59.9%, 18.8%)
CIE-LABlab(77.56, -9.07, 56.09)
CIE-LCHlch(77.56, 56.82, 99.18°)
OKLaboklab(80.35% -0.029 0.1289)
OKLCHoklch(80.35% 0.132 102.7)
XYZxyz(46.5869, 52.4753, 15.8567)
Luminance0.5247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC253 #5360CF
analogous
#CF8453 #CFC253 #9ECF53
triadic
#CFC253 #53CFC2 #C253CF
tetradic
#CFC253 #53CF84 #5360CF #CF539E
square
#CFC253 #53CF84 #5360CF #CF539E
split-complementary
#CFC253 #539ECF #8453CF
monochromatic
#837925 #B3A532 #CFC253 #DCD383 #EAE4B3

Accessibility & contrast

On white

1.83
#CFC253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CFC253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC253
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC253#FFFFFF#000000##000000
##CFC2531.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC47
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#DDB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc253;
/* rgb */ color: rgb(207, 194, 83);
/* oklch */ color: oklch(80.3% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#e0d488',
    500: '#cfc253',
    950: '#000000',
  },
}
SCSS
$custom: #cfc253;
$custom-light: #e0d488;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc253",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 53.71,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80347,
    "c": 0.13215,
    "h": 102.7
  },
  "luminance": 0.52474
}

Semantic roles & 50–950 ramp

primary
#CFC253
secondary
#3C448A
accent
#58E048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC253

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

Preview Lab → · Contrast checker → · Palette generator →

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