#CFCA62#CFCA62

#CFCA62 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.127 H 106.4°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CFCA62
RGBrgb(207, 202, 98)
HSLhsl(57, 53%, 60%)
HSVhsv(57, 53%, 81%)
CMYKcmyk(0%, 2.4%, 52.7%, 18.8%)
CIE-LABlab(79.84, -12.00, 51.82)
CIE-LCHlch(79.84, 53.20, 103.04°)
OKLaboklab(82.2% -0.0357 0.1215)
OKLCHoklch(82.2% 0.127 106.4)
XYZxyz(49.0586, 56.3897, 19.8530)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA62 #6267CF
analogous
#CF9462 #CFCA62 #9DCF62
triadic
#CFCA62 #62CFCA #CA62CF
tetradic
#CFCA62 #62CF94 #6267CF #CF629D
square
#CFCA62 #62CF94 #6267CF #CF629D
split-complementary
#CFCA62 #629DCF #9462CF
monochromatic
#8C872B #BBB539 #CFCA62 #DDDA91 #ECEAC0

Accessibility & contrast

On white

1.71
#CFCA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CFCA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA62
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA62#FFFFFF#000000##000000
##CFCA621.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C358
Deuteranopia (green-blind)
#DBC867
Tritanopia (blue-blind)
#DCBFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca62;
/* rgb */ color: rgb(207, 202, 98);
/* oklch */ color: oklch(82.2% 0.127 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d991',
    500: '#cfca62',
    950: '#000000',
  },
}
SCSS
$custom: #cfca62;
$custom-light: #e0d991;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca62",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 57.248,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.822,
    "c": 0.12666,
    "h": 106.4
  },
  "luminance": 0.56388
}

Semantic roles & 50–950 ramp

primary
#CFCA62
secondary
#434792
accent
#52DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFCA62

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

Preview Lab → · Contrast checker → · Palette generator →

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