#CFCA30#CFCA30

#CFCA30 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.163 H 107.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CFCA30
RGBrgb(207, 202, 48)
HSLhsl(58, 62%, 50%)
HSVhsv(58, 77%, 81%)
CMYKcmyk(0%, 2.4%, 76.8%, 18.8%)
CIE-LABlab(79.46, -14.97, 71.27)
CIE-LCHlch(79.46, 72.83, 101.86°)
OKLaboklab(81.78% -0.0492 0.1553)
OKLCHoklch(81.78% 0.163 107.6)
XYZxyz(47.3881, 55.7215, 11.0549)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA30 #3035CF
analogous
#CF7A30 #CFCA30 #85CF30
triadic
#CFCA30 #30CFCA #CA30CF
tetradic
#CFCA30 #30CF7A #3035CF #CF3085
square
#CFCA30 #30CF7A #3035CF #CF3085
split-complementary
#CFCA30 #3085CF #7A30CF
monochromatic
#6C6919 #9D9A24 #CFCA30 #DBD762 #E6E393

Accessibility & contrast

On white

1.73
#CFCA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CFCA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA30
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA30#FFFFFF#000000##000000
##CFCA301.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC201
Deuteranopia (green-blind)
#DEC73D
Tritanopia (blue-blind)
#DEBCAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca30;
/* rgb */ color: rgb(207, 202, 48);
/* oklch */ color: oklch(81.8% 0.163 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2d975',
    500: '#cfca30',
    950: '#000000',
  },
}
SCSS
$custom: #cfca30;
$custom-light: #e2d975;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca30",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 48
  },
  "hsl": {
    "h": 58.113,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.16294,
    "h": 107.6
  },
  "luminance": 0.5572
}

Semantic roles & 50–950 ramp

primary
#CFCA30
secondary
#2E3075
accent
#48E542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFCA30

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

Preview Lab → · Contrast checker → · Palette generator →

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