#CFCA58#CFCA58

#CFCA58 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.136 H 106.7°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CFCA58
RGBrgb(207, 202, 88)
HSLhsl(57, 55%, 58%)
HSVhsv(57, 57%, 81%)
CMYKcmyk(0%, 2.4%, 57.5%, 18.8%)
CIE-LABlab(79.73, -12.78, 56.28)
CIE-LCHlch(79.73, 57.71, 102.80°)
OKLaboklab(82.09% -0.039 0.13)
OKLCHoklch(82.09% 0.136 106.7)
XYZxyz(48.6156, 56.2125, 17.5198)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA58 #585DCF
analogous
#CF8E58 #CFCA58 #98CF58
triadic
#CFCA58 #58CFCA #CA58CF
tetradic
#CFCA58 #58CF8E #585DCF #CF5898
square
#CFCA58 #58CF8E #585DCF #CF5898
split-complementary
#CFCA58 #5898CF #8E58CF
monochromatic
#868227 #B6B034 #CFCA58 #DDD988 #EAE8B7

Accessibility & contrast

On white

1.72
#CFCA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CFCA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA58
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA58#FFFFFF#000000##000000
##CFCA581.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34C
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#DDBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca58;
/* rgb */ color: rgb(207, 202, 88);
/* oklch */ color: oklch(82.1% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#e0d98b',
    500: '#cfca58',
    950: '#000000',
  },
}
SCSS
$custom: #cfca58;
$custom-light: #e0d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca58",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 57.479,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82088,
    "c": 0.13569,
    "h": 106.7
  },
  "luminance": 0.56211
}

Semantic roles & 50–950 ramp

primary
#CFCA58
secondary
#3E428D
accent
#4FDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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