#CFC059#CFC059

#CFC059 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.125 H 101.1°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CFC059
RGBrgb(207, 192, 89)
HSLhsl(52, 55%, 58%)
HSVhsv(52, 57%, 81%)
CMYKcmyk(0%, 7.2%, 57%, 18.8%)
CIE-LABlab(77.09, -7.61, 52.85)
CIE-LCHlch(77.09, 53.39, 98.19°)
OKLaboklab(79.99% -0.0241 0.1228)
OKLCHoklch(79.99% 0.125 101.1)
XYZxyz(46.3866, 51.6877, 16.9826)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC059 #5968CF
analogous
#CF8559 #CFC059 #A3CF59
triadic
#CFC059 #59CFC0 #C059CF
tetradic
#CFC059 #59CF85 #5968CF #CF59A3
square
#CFC059 #59CF85 #5968CF #CF59A3
split-complementary
#CFC059 #59A3CF #8559CF
monochromatic
#877A27 #B6A635 #CFC059 #DDD288 #EAE4B8

Accessibility & contrast

On white

1.85
#CFC059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CFC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC059
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC059#FFFFFF#000000##000000
##CFC0591.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4F
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#DDB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc059;
/* rgb */ color: rgb(207, 192, 89);
/* oklch */ color: oklch(80.0% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#e0d28b',
    500: '#cfc059',
    950: '#000000',
  },
}
SCSS
$custom: #cfc059;
$custom-light: #e0d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc059",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 52.373,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79992,
    "c": 0.12509,
    "h": 101.1
  },
  "luminance": 0.51686
}

Semantic roles & 50–950 ramp

primary
#CFC059
secondary
#3F498E
accent
#5CDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC059

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

Preview Lab → · Contrast checker → · Palette generator →

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