#CFCF5B#CFCF5B

#CFCF5B is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.138 H 109.1°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CFCF5B
RGBrgb(207, 207, 91)
HSLhsl(60, 55%, 58%)
HSVhsv(60, 56%, 81%)
CMYKcmyk(0%, 0%, 56%, 18.8%)
CIE-LABlab(81.10, -15.07, 56.47)
CIE-LCHlch(81.10, 58.44, 104.95°)
OKLaboklab(83.18% -0.0452 0.1307)
OKLCHoklch(83.18% 0.138 109.1)
XYZxyz(49.9347, 58.6477, 18.5852)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF5B #5B5BCF
analogous
#CF955B #CFCF5B #95CF5B
triadic
#CFCF5B #5BCFCF #CF5BCF
tetradic
#CFCF5B #5BCF95 #5B5BCF #CF5B95
square
#CFCF5B #5BCF95 #5B5BCF #CF5B95
split-complementary
#CFCF5B #5B95CF #955BCF
monochromatic
#888828 #B7B736 #CFCF5B #DDDD8A #EBEBBA

Accessibility & contrast

On white

1.65
#CFCF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CFCF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF5B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF5B#FFFFFF#000000##000000
##CFCF5B1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#E0CB61
Tritanopia (blue-blind)
#DCC3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf5b;
/* rgb */ color: rgb(207, 207, 91);
/* oklch */ color: oklch(83.2% 0.138 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0dd8d',
    500: '#cfcf5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf5b;
$custom-light: #e0dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf5b",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83183,
    "c": 0.13832,
    "h": 109.1
  },
  "luminance": 0.58646
}

Semantic roles & 50–950 ramp

primary
#CFCF5B
secondary
#40408F
accent
#4ADE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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