#CFCA59#CFCA59

#CFCA59 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.135 H 106.7°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CFCA59
RGBrgb(207, 202, 89)
HSLhsl(57, 55%, 58%)
HSVhsv(57, 57%, 81%)
CMYKcmyk(0%, 2.4%, 57%, 18.8%)
CIE-LABlab(79.74, -12.71, 55.84)
CIE-LCHlch(79.74, 57.27, 102.82°)
OKLaboklab(82.1% -0.0387 0.1292)
OKLCHoklch(82.1% 0.135 106.7)
XYZxyz(48.6573, 56.2292, 17.7395)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA59 #595ECF
analogous
#CF8F59 #CFCA59 #99CF59
triadic
#CFCA59 #59CFCA #CA59CF
tetradic
#CFCA59 #59CF8F #595ECF #CF5999
square
#CFCA59 #59CF8F #595ECF #CF5999
split-complementary
#CFCA59 #5999CF #8F59CF
monochromatic
#878327 #B6B135 #CFCA59 #DDD988 #EAE8B8

Accessibility & contrast

On white

1.71
#CFCA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CFCA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA59
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA59#FFFFFF#000000##000000
##CFCA591.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34D
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#DDBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca59;
/* rgb */ color: rgb(207, 202, 89);
/* oklch */ color: oklch(82.1% 0.135 106.7);
Tailwind
colors: {
  custom: {
    50: '#e0d98c',
    500: '#cfca59',
    950: '#000000',
  },
}
SCSS
$custom: #cfca59;
$custom-light: #e0d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca59",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 57.458,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82099,
    "c": 0.13483,
    "h": 106.7
  },
  "luminance": 0.56228
}

Semantic roles & 50–950 ramp

primary
#CFCA59
secondary
#3F428E
accent
#50DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCA59

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

Preview Lab → · Contrast checker → · Palette generator →

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