#CFC859#CFC859

#CFC859 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.133 H 105.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CFC859
RGBrgb(207, 200, 89)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.4%, 57%, 18.8%)
CIE-LABlab(79.21, -11.70, 55.24)
CIE-LCHlch(79.21, 56.47, 101.95°)
OKLaboklab(81.68% -0.0358 0.1279)
OKLCHoklch(81.68% 0.133 105.6)
XYZxyz(48.1911, 55.2968, 17.5841)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC859 #5960CF
analogous
#CF8D59 #CFC859 #9BCF59
triadic
#CFC859 #59CFC8 #C859CF
tetradic
#CFC859 #59CF8D #5960CF #CF599B
square
#CFC859 #59CF8D #5960CF #CF599B
split-complementary
#CFC859 #599BCF #8D59CF
monochromatic
#878127 #B6AE35 #CFC859 #DDD888 #EAE7B8

Accessibility & contrast

On white

1.74
#CFC859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CFC859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC859
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC859#FFFFFF#000000##000000
##CFC8591.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14D
Deuteranopia (green-blind)
#DAC75F
Tritanopia (blue-blind)
#DDBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc859;
/* rgb */ color: rgb(207, 200, 89);
/* oklch */ color: oklch(81.7% 0.133 105.6);
Tailwind
colors: {
  custom: {
    50: '#e0d88c',
    500: '#cfc859',
    950: '#000000',
  },
}
SCSS
$custom: #cfc859;
$custom-light: #e0d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc859",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 56.441,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81675,
    "c": 0.13279,
    "h": 105.6
  },
  "luminance": 0.55295
}

Semantic roles & 50–950 ramp

primary
#CFC859
secondary
#3F438E
accent
#52DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC859

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

Preview Lab → · Contrast checker → · Palette generator →

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