#CFC65B#CFC65B

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

Color values

HEX#CFC65B
RGBrgb(207, 198, 91)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 56%, 81%)
CMYKcmyk(0%, 4.3%, 56%, 18.8%)
CIE-LABlab(78.70, -10.53, 53.76)
CIE-LCHlch(78.70, 54.78, 101.08°)
OKLaboklab(81.27% -0.0322 0.1249)
OKLCHoklch(81.27% 0.129 104.5)
XYZxyz(47.8161, 54.4105, 17.8790)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC65B #5B64CF
analogous
#CF8C5B #CFC65B #9ECF5B
triadic
#CFC65B #5BCFC6 #C65BCF
tetradic
#CFC65B #5BCF8C #5B64CF #CF5B9E
square
#CFC65B #5BCF8C #5B64CF #CF5B9E
split-complementary
#CFC65B #5B9ECF #8C5BCF
monochromatic
#888028 #B7AD36 #CFC65B #DDD68A #EBE7BA

Accessibility & contrast

On white

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

On black

11.88
#CFC65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC65B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC65B#FFFFFF#000000##000000
##CFC65B1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C050
Deuteranopia (green-blind)
#D9C560
Tritanopia (blue-blind)
#DDBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc65b;
/* rgb */ color: rgb(207, 198, 91);
/* oklch */ color: oklch(81.3% 0.129 104.5);
Tailwind
colors: {
  custom: {
    50: '#e0d78d',
    500: '#cfc65b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc65b;
$custom-light: #e0d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc65b",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 55.345,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81275,
    "c": 0.12902,
    "h": 104.5
  },
  "luminance": 0.54409
}

Semantic roles & 50–950 ramp

primary
#CFC65B
secondary
#40468F
accent
#55DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC65B

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

Preview Lab → · Contrast checker → · Palette generator →

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