#CFC53C#CFC53C

#CFC53C is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.152 H 105.1°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CFC53C
RGBrgb(207, 197, 60)
HSLhsl(56, 60%, 52%)
HSVhsv(56, 71%, 81%)
CMYKcmyk(0%, 4.8%, 71%, 18.8%)
CIE-LABlab(78.18, -11.94, 66.09)
CIE-LCHlch(78.18, 67.16, 100.24°)
OKLaboklab(80.78% -0.0396 0.1465)
OKLCHoklch(80.78% 0.152 105.1)
XYZxyz(46.5159, 53.5259, 12.1554)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC53C #3C46CF
analogous
#CF7B3C #CFC53C #90CF3C
triadic
#CFC53C #3CCFC5 #C53CCF
tetradic
#CFC53C #3CCF7B #3C46CF #CF3C90
square
#CFC53C #3CCF7B #3C46CF #CF3C90
split-complementary
#CFC53C #3C90CF #7B3CCF
monochromatic
#746E1D #A59D29 #CFC53C #DBD46D #E7E29E

Accessibility & contrast

On white

1.79
#CFC53C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CFC53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC53C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC53C#FFFFFF#000000##000000
##CFC53C1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE25
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#DEB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc53c;
/* rgb */ color: rgb(207, 197, 60);
/* oklch */ color: oklch(80.8% 0.152 105.1);
Tailwind
colors: {
  custom: {
    50: '#e1d67b',
    500: '#cfc53c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc53c;
$custom-light: #e1d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc53c",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 60
  },
  "hsl": {
    "h": 55.918,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80784,
    "c": 0.15176,
    "h": 105.1
  },
  "luminance": 0.53524
}

Semantic roles & 50–950 ramp

primary
#CFC53C
secondary
#33387D
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC53C

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

Preview Lab → · Contrast checker → · Palette generator →

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