#CFCF30#CFCF30

#CFCF30 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.8% C 0.168 H 109.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CFCF30
RGBrgb(207, 207, 48)
HSLhsl(60, 62%, 50%)
HSVhsv(60, 77%, 81%)
CMYKcmyk(0%, 0%, 76.8%, 18.8%)
CIE-LABlab(80.80, -17.46, 72.48)
CIE-LCHlch(80.80, 74.56, 103.54°)
OKLaboklab(82.85% -0.0561 0.1579)
OKLCHoklch(82.85% 0.168 109.6)
XYZxyz(48.5803, 58.1059, 11.4523)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF30 #3030CF
analogous
#CF8030 #CFCF30 #80CF30
triadic
#CFCF30 #30CFCF #CF30CF
tetradic
#CFCF30 #30CF80 #3030CF #CF3080
square
#CFCF30 #30CF80 #3030CF #CF3080
split-complementary
#CFCF30 #307FCF #7F30CF
monochromatic
#6C6C19 #9D9D24 #CFCF30 #DBDB62 #E6E693

Accessibility & contrast

On white

1.66
#CFCF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CFCF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF30
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF30#FFFFFF#000000##000000
##CFCF301.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E2CB3E
Tritanopia (blue-blind)
#DEC1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf30;
/* rgb */ color: rgb(207, 207, 48);
/* oklch */ color: oklch(82.8% 0.168 109.6);
Tailwind
colors: {
  custom: {
    50: '#e2dd76',
    500: '#cfcf30',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf30;
$custom-light: #e2dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf30",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.82848,
    "c": 0.1676,
    "h": 109.6
  },
  "luminance": 0.58104
}

Semantic roles & 50–950 ramp

primary
#CFCF30
secondary
#2E2E75
accent
#42E542
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CFCF30

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

Preview Lab → · Contrast checker → · Palette generator →

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