#CFC65D#CFC65D

#CFC65D is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.127 H 104.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CFC65D
RGBrgb(207, 198, 93)
HSLhsl(55, 54%, 59%)
HSVhsv(55, 55%, 81%)
CMYKcmyk(0%, 4.3%, 55.1%, 18.8%)
CIE-LABlab(78.72, -10.37, 52.86)
CIE-LCHlch(78.72, 53.87, 101.10°)
OKLaboklab(81.3% -0.0316 0.1232)
OKLCHoklch(81.3% 0.127 104.4)
XYZxyz(47.9035, 54.4455, 18.3395)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC65D #5D66CF
analogous
#CF8D5D #CFC65D #9FCF5D
triadic
#CFC65D #5DCFC6 #C65DCF
tetradic
#CFC65D #5DCF8D #5D66CF #CF5D9F
square
#CFC65D #5DCF8D #5D66CF #CF5D9F
split-complementary
#CFC65D #5D9FCF #8D5DCF
monochromatic
#898129 #B8AE37 #CFC65D #DDD78C #EBE7BB

Accessibility & contrast

On white

1.77
#CFC65D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CFC65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC65D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC65D#FFFFFF#000000##000000
##CFC65D1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C053
Deuteranopia (green-blind)
#D8C562
Tritanopia (blue-blind)
#DDBAAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc65d;
/* rgb */ color: rgb(207, 198, 93);
/* oklch */ color: oklch(81.3% 0.127 104.4);
Tailwind
colors: {
  custom: {
    50: '#e0d78e',
    500: '#cfc65d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc65d;
$custom-light: #e0d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc65d",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 93
  },
  "hsl": {
    "h": 55.263,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81297,
    "c": 0.12721,
    "h": 104.4
  },
  "luminance": 0.54444
}

Semantic roles & 50–950 ramp

primary
#CFC65D
secondary
#414790
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC65D

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

Preview Lab → · Contrast checker → · Palette generator →

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