#CFC64F#CFC64F

#CFC64F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.139 H 105.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CFC64F
RGBrgb(207, 198, 79)
HSLhsl(56, 57%, 56%)
HSVhsv(56, 62%, 81%)
CMYKcmyk(0%, 4.3%, 61.8%, 18.8%)
CIE-LABlab(78.59, -11.38, 58.96)
CIE-LCHlch(78.59, 60.04, 100.92°)
OKLaboklab(81.15% -0.036 0.1345)
OKLCHoklch(81.15% 0.139 105)
XYZxyz(47.3392, 54.2197, 15.3675)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC64F #4F58CF
analogous
#CF864F #CFC64F #98CF4F
triadic
#CFC64F #4FCFC6 #C64FCF
tetradic
#CFC64F #4FCF86 #4F58CF #CF4F98
square
#CFC64F #4FCF86 #4F58CF #CF4F98
split-complementary
#CFC64F #4F98CF #864FCF
monochromatic
#817A23 #B1A830 #CFC64F #DCD67F #E9E5AF

Accessibility & contrast

On white

1.77
#CFC64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CFC64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC64F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC64F#FFFFFF#000000##000000
##CFC64F1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc64f;
/* rgb */ color: rgb(207, 198, 79);
/* oklch */ color: oklch(81.2% 0.139 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1d785',
    500: '#cfc64f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc64f;
$custom-light: #e1d785;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc64f",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 55.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81151,
    "c": 0.13921,
    "h": 105
  },
  "luminance": 0.54218
}

Semantic roles & 50–950 ramp

primary
#CFC64F
secondary
#3A4088
accent
#52E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC64F

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

Preview Lab → · Contrast checker → · Palette generator →

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