#CFCA61#CFCA61

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

Color values

HEX#CFCA61
RGBrgb(207, 202, 97)
HSLhsl(57, 53%, 60%)
HSVhsv(57, 53%, 81%)
CMYKcmyk(0%, 2.4%, 53.1%, 18.8%)
CIE-LABlab(79.82, -12.09, 52.28)
CIE-LCHlch(79.82, 53.66, 103.02°)
OKLaboklab(82.19% -0.036 0.1224)
OKLCHoklch(82.19% 0.128 106.4)
XYZxyz(49.0117, 56.3710, 19.6058)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA61 #6166CF
analogous
#CF9361 #CFCA61 #9DCF61
triadic
#CFCA61 #61CFCA #CA61CF
tetradic
#CFCA61 #61CF93 #6166CF #CF619D
square
#CFCA61 #61CF93 #6166CF #CF619D
split-complementary
#CFCA61 #619DCF #9361CF
monochromatic
#8B872A #BAB439 #CFCA61 #DDDA90 #ECE9BF

Accessibility & contrast

On white

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

On black

12.27
#CFCA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA61
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA61#FFFFFF#000000##000000
##CFCA611.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C357
Deuteranopia (green-blind)
#DBC866
Tritanopia (blue-blind)
#DCBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca61;
/* rgb */ color: rgb(207, 202, 97);
/* oklch */ color: oklch(82.2% 0.128 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d991',
    500: '#cfca61',
    950: '#000000',
  },
}
SCSS
$custom: #cfca61;
$custom-light: #e0d991;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca61",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 97
  },
  "hsl": {
    "h": 57.273,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82189,
    "c": 0.1276,
    "h": 106.4
  },
  "luminance": 0.5637
}

Semantic roles & 50–950 ramp

primary
#CFCA61
secondary
#424692
accent
#52DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFCA61

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

Preview Lab → · Contrast checker → · Palette generator →

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