#CFC759#CFC759

#CFC759 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.132 H 105.1°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CFC759
RGBrgb(207, 199, 89)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.9%, 57%, 18.8%)
CIE-LABlab(78.95, -11.19, 54.95)
CIE-LCHlch(78.95, 56.07, 101.51°)
OKLaboklab(81.46% -0.0343 0.1272)
OKLCHoklch(81.46% 0.132 105.1)
XYZxyz(47.9603, 54.8351, 17.5071)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC759 #5961CF
analogous
#CF8C59 #CFC759 #9CCF59
triadic
#CFC759 #59CFC7 #C759CF
tetradic
#CFC759 #59CF8C #5961CF #CF599C
square
#CFC759 #59CF8C #5961CF #CF599C
split-complementary
#CFC759 #599CCF #8C59CF
monochromatic
#878027 #B6AD35 #CFC759 #DDD788 #EAE7B8

Accessibility & contrast

On white

1.75
#CFC759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CFC759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC759
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC759#FFFFFF#000000##000000
##CFC7591.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C14D
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc759;
/* rgb */ color: rgb(207, 199, 89);
/* oklch */ color: oklch(81.5% 0.132 105.1);
Tailwind
colors: {
  custom: {
    50: '#e0d78c',
    500: '#cfc759',
    950: '#000000',
  },
}
SCSS
$custom: #cfc759;
$custom-light: #e0d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc759",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 55.932,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81464,
    "c": 0.13179,
    "h": 105.1
  },
  "luminance": 0.54834
}

Semantic roles & 50–950 ramp

primary
#CFC759
secondary
#3F448E
accent
#53DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC759

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

Preview Lab → · Contrast checker → · Palette generator →

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