#CFC53F#CFC53F

#CFC53F is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.150 H 105.0°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CFC53F
RGBrgb(207, 197, 63)
HSLhsl(56, 60%, 53%)
HSVhsv(56, 70%, 81%)
CMYKcmyk(0%, 4.8%, 69.6%, 18.8%)
CIE-LABlab(78.20, -11.79, 65.00)
CIE-LCHlch(78.20, 66.06, 100.28°)
OKLaboklab(80.81% -0.0389 0.1447)
OKLCHoklch(80.81% 0.15 105)
XYZxyz(46.5975, 53.5585, 12.5850)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC53F #3F49CF
analogous
#CF7D3F #CFC53F #91CF3F
triadic
#CFC53F #3FCFC5 #C53FCF
tetradic
#CFC53F #3FCF7D #3F49CF #CF3F91
square
#CFC53F #3FCF7D #3F49CF #CF3F91
split-complementary
#CFC53F #3F91CF #7D3FCF
monochromatic
#76701E #A79E2A #CFC53F #DBD470 #E7E3A1

Accessibility & contrast

On white

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

On black

11.71
#CFC53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC53F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC53F#FFFFFF#000000##000000
##CFC53F1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc53f;
/* rgb */ color: rgb(207, 197, 63);
/* oklch */ color: oklch(80.8% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1d67c',
    500: '#cfc53f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc53f;
$custom-light: #e1d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc53f",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 55.833,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80805,
    "c": 0.14985,
    "h": 105
  },
  "luminance": 0.53557
}

Semantic roles & 50–950 ramp

primary
#CFC53F
secondary
#34397F
accent
#50E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC53F

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

Preview Lab → · Contrast checker → · Palette generator →

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