#CFCF5D#CFCF5D

#CFCF5D is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.137 H 109.0°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CFCF5D
RGBrgb(207, 207, 93)
HSLhsl(60, 54%, 59%)
HSVhsv(60, 55%, 81%)
CMYKcmyk(0%, 0%, 55.1%, 18.8%)
CIE-LABlab(81.12, -14.92, 55.59)
CIE-LCHlch(81.12, 57.56, 105.02°)
OKLaboklab(83.21% -0.0445 0.1291)
OKLCHoklch(83.21% 0.137 109)
XYZxyz(50.0221, 58.6827, 19.0457)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF5D #5D5DCF
analogous
#CF965D #CFCF5D #96CF5D
triadic
#CFCF5D #5DCFCF #CF5DCF
tetradic
#CFCF5D #5DCF96 #5D5DCF #CF5D96
square
#CFCF5D #5DCF96 #5D5DCF #CF5D96
split-complementary
#CFCF5D #5D96CF #965DCF
monochromatic
#898929 #B8B837 #CFCF5D #DDDD8C #EBEBBB

Accessibility & contrast

On white

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

On black

12.74
#CFCF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF5D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF5D#FFFFFF#000000##000000
##CFCF5D1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf5d;
/* rgb */ color: rgb(207, 207, 93);
/* oklch */ color: oklch(83.2% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0dd8f',
    500: '#cfcf5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf5d;
$custom-light: #e0dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf5d",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83205,
    "c": 0.13656,
    "h": 109
  },
  "luminance": 0.58681
}

Semantic roles & 50–950 ramp

primary
#CFCF5D
secondary
#414190
accent
#4ADE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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