#CFCF57#CFCF57

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

Color values

HEX#CFCF57
RGBrgb(207, 207, 87)
HSLhsl(60, 56%, 58%)
HSVhsv(60, 58%, 81%)
CMYKcmyk(0%, 0%, 58%, 18.8%)
CIE-LABlab(81.06, -15.37, 58.19)
CIE-LCHlch(81.06, 60.19, 104.79°)
OKLaboklab(83.14% -0.0464 0.1339)
OKLCHoklch(83.14% 0.142 109.1)
XYZxyz(49.7667, 58.5805, 17.7006)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF57 #5757CF
analogous
#CF9357 #CFCF57 #93CF57
triadic
#CFCF57 #57CFCF #CF57CF
tetradic
#CFCF57 #57CF93 #5757CF #CF5793
square
#CFCF57 #57CF93 #5757CF #CF5793
split-complementary
#CFCF57 #5793CF #9357CF
monochromatic
#858526 #B5B534 #CFCF57 #DDDD87 #EAEAB6

Accessibility & contrast

On white

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

On black

12.72
#CFCF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF57
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF57#FFFFFF#000000##000000
##CFCF571.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#DCC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf57;
/* rgb */ color: rgb(207, 207, 87);
/* oklch */ color: oklch(83.1% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0dd8b',
    500: '#cfcf57',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf57;
$custom-light: #e0dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf57",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.14174,
    "h": 109.1
  },
  "luminance": 0.58579
}

Semantic roles & 50–950 ramp

primary
#CFCF57
secondary
#3E3E8C
accent
#49DF49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCF57

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

Preview Lab → · Contrast checker → · Palette generator →

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