#CFCF5A#CFCF5A

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

Color values

HEX#CFCF5A
RGBrgb(207, 207, 90)
HSLhsl(60, 55%, 58%)
HSVhsv(60, 57%, 81%)
CMYKcmyk(0%, 0%, 56.5%, 18.8%)
CIE-LABlab(81.09, -15.15, 56.90)
CIE-LCHlch(81.09, 58.88, 104.91°)
OKLaboklab(83.17% -0.0455 0.1315)
OKLCHoklch(83.17% 0.139 109.1)
XYZxyz(49.8918, 58.6305, 18.3595)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF5A #5A5ACF
analogous
#CF945A #CFCF5A #94CF5A
triadic
#CFCF5A #5ACFCF #CF5ACF
tetradic
#CFCF5A #5ACF94 #5A5ACF #CF5A94
square
#CFCF5A #5ACF94 #5A5ACF #CF5A94
split-complementary
#CFCF5A #5A94CF #945ACF
monochromatic
#878727 #B7B735 #CFCF5A #DDDD89 #EBEBB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF5A#FFFFFF#000000##000000
##CFCF5A1.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)
#DEC74D
Deuteranopia (green-blind)
#E0CB61
Tritanopia (blue-blind)
#DCC3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf5a;
/* rgb */ color: rgb(207, 207, 90);
/* oklch */ color: oklch(83.2% 0.139 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0dd8d',
    500: '#cfcf5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf5a;
$custom-light: #e0dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf5a",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83173,
    "c": 0.13919,
    "h": 109.1
  },
  "luminance": 0.58629
}

Semantic roles & 50–950 ramp

primary
#CFCF5A
secondary
#3F3F8E
accent
#4ADE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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