#CFCF58#CFCF58

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

Color values

HEX#CFCF58
RGBrgb(207, 207, 88)
HSLhsl(60, 55%, 58%)
HSVhsv(60, 57%, 81%)
CMYKcmyk(0%, 0%, 57.5%, 18.8%)
CIE-LABlab(81.07, -15.29, 57.76)
CIE-LCHlch(81.07, 59.75, 104.83°)
OKLaboklab(83.15% -0.0461 0.1331)
OKLCHoklch(83.15% 0.141 109.1)
XYZxyz(49.8078, 58.5969, 17.9172)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF58 #5858CF
analogous
#CF9358 #CFCF58 #93CF58
triadic
#CFCF58 #58CFCF #CF58CF
tetradic
#CFCF58 #58CF93 #5858CF #CF5893
square
#CFCF58 #58CF93 #5858CF #CF5893
split-complementary
#CFCF58 #5893CF #9358CF
monochromatic
#868627 #B6B634 #CFCF58 #DDDD88 #EAEAB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF58#FFFFFF#000000##000000
##CFCF581.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)
#DEC74B
Deuteranopia (green-blind)
#E0CB5F
Tritanopia (blue-blind)
#DCC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf58;
/* rgb */ color: rgb(207, 207, 88);
/* oklch */ color: oklch(83.2% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0dd8b',
    500: '#cfcf58',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf58;
$custom-light: #e0dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf58",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83152,
    "c": 0.14091,
    "h": 109.1
  },
  "luminance": 0.58596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF58

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

Preview Lab → · Contrast checker → · Palette generator →

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