#CFC760#CFC760

#CFC760 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.125 H 104.8°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CFC760
RGBrgb(207, 199, 96)
HSLhsl(56, 54%, 59%)
HSVhsv(56, 54%, 81%)
CMYKcmyk(0%, 3.9%, 53.6%, 18.8%)
CIE-LABlab(79.02, -10.64, 51.81)
CIE-LCHlch(79.02, 52.89, 101.61°)
OKLaboklab(81.54% -0.032 0.1213)
OKLCHoklch(81.54% 0.125 104.8)
XYZxyz(48.2683, 54.9583, 19.1295)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC760 #6068CF
analogous
#CF9060 #CFC760 #9FCF60
triadic
#CFC760 #60CFC7 #C760CF
tetradic
#CFC760 #60CF90 #6068CF #CF609F
square
#CFC760 #60CF90 #6068CF #CF609F
split-complementary
#CFC760 #609FCF #9060CF
monochromatic
#8B842A #BAB038 #CFC760 #DDD88F #EBE8BE

Accessibility & contrast

On white

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

On black

11.99
#CFC760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC760
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC760#FFFFFF#000000##000000
##CFC7601.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C156
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc760;
/* rgb */ color: rgb(207, 199, 96);
/* oklch */ color: oklch(81.5% 0.125 104.8);
Tailwind
colors: {
  custom: {
    50: '#e0d790',
    500: '#cfc760',
    950: '#000000',
  },
}
SCSS
$custom: #cfc760;
$custom-light: #e0d790;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc760",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 96
  },
  "hsl": {
    "h": 55.676,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81543,
    "c": 0.12544,
    "h": 104.8
  },
  "luminance": 0.54957
}

Semantic roles & 50–950 ramp

primary
#CFC760
secondary
#424891
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC760

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

Preview Lab → · Contrast checker → · Palette generator →

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