#CFCF59#CFCF59

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

Color values

HEX#CFCF59
RGBrgb(207, 207, 89)
HSLhsl(60, 55%, 58%)
HSVhsv(60, 57%, 81%)
CMYKcmyk(0%, 0%, 57%, 18.8%)
CIE-LABlab(81.08, -15.22, 57.33)
CIE-LCHlch(81.08, 59.32, 104.87°)
OKLaboklab(83.16% -0.0458 0.1324)
OKLCHoklch(83.16% 0.14 109.1)
XYZxyz(49.8495, 58.6136, 18.1369)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF59 #5959CF
analogous
#CF9459 #CFCF59 #94CF59
triadic
#CFCF59 #59CFCF #CF59CF
tetradic
#CFCF59 #59CF94 #5959CF #CF5994
square
#CFCF59 #59CF94 #5959CF #CF5994
split-complementary
#CFCF59 #5994CF #9459CF
monochromatic
#878727 #B6B635 #CFCF59 #DDDD88 #EAEAB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF59#FFFFFF#000000##000000
##CFCF591.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)
#DEC74C
Deuteranopia (green-blind)
#E0CB60
Tritanopia (blue-blind)
#DCC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf59;
/* rgb */ color: rgb(207, 207, 89);
/* oklch */ color: oklch(83.2% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0dd8c',
    500: '#cfcf59',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf59;
$custom-light: #e0dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf59",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83162,
    "c": 0.14005,
    "h": 109.1
  },
  "luminance": 0.58612
}

Semantic roles & 50–950 ramp

primary
#CFCF59
secondary
#3F3F8E
accent
#49DE49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCF59

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

Preview Lab → · Contrast checker → · Palette generator →

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