#CFC63F#CFC63F

#CFC63F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.151 H 105.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CFC63F
RGBrgb(207, 198, 63)
HSLhsl(56, 60%, 53%)
HSVhsv(56, 70%, 81%)
CMYKcmyk(0%, 4.3%, 69.6%, 18.8%)
CIE-LABlab(78.47, -12.30, 65.26)
CIE-LCHlch(78.47, 66.41, 100.67°)
OKLaboklab(81.02% -0.0403 0.1453)
OKLCHoklch(81.02% 0.151 105.5)
XYZxyz(46.8253, 54.0142, 12.6609)
Luminance0.5401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC63F #3F48CF
analogous
#CF7E3F #CFC63F #90CF3F
triadic
#CFC63F #3FCFC6 #C63FCF
tetradic
#CFC63F #3FCF7E #3F48CF #CF3F90
square
#CFC63F #3FCF7E #3F48CF #CF3F90
split-complementary
#CFC63F #3F90CF #7E3FCF
monochromatic
#76711E #A79F2A #CFC63F #DBD570 #E7E3A1

Accessibility & contrast

On white

1.78
#CFC63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CFC63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC63F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC63F#FFFFFF#000000##000000
##CFC63F1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#DAC548
Tritanopia (blue-blind)
#DEB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc63f;
/* rgb */ color: rgb(207, 198, 63);
/* oklch */ color: oklch(81.0% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d77c',
    500: '#cfc63f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc63f;
$custom-light: #e1d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc63f",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 63
  },
  "hsl": {
    "h": 56.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81017,
    "c": 0.15077,
    "h": 105.5
  },
  "luminance": 0.54012
}

Semantic roles & 50–950 ramp

primary
#CFC63F
secondary
#34387F
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC63F

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

Preview Lab → · Contrast checker → · Palette generator →

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