#CFCA5D#CFCA5D

#CFCA5D is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.131 H 106.5°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CFCA5D
RGBrgb(207, 202, 93)
HSLhsl(57, 54%, 59%)
HSVhsv(57, 55%, 81%)
CMYKcmyk(0%, 2.4%, 55.1%, 18.8%)
CIE-LABlab(79.78, -12.40, 54.08)
CIE-LCHlch(79.78, 55.48, 102.92°)
OKLaboklab(82.14% -0.0374 0.1258)
OKLCHoklch(82.14% 0.131 106.5)
XYZxyz(48.8299, 56.2982, 18.6483)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA5D #5D62CF
analogous
#CF915D #CFCA5D #9BCF5D
triadic
#CFCA5D #5DCFCA #CA5DCF
tetradic
#CFCA5D #5DCF91 #5D62CF #CF5D9B
square
#CFCA5D #5DCF91 #5D62CF #CF5D9B
split-complementary
#CFCA5D #5D9BCF #915DCF
monochromatic
#898529 #B8B337 #CFCA5D #DDD98C #EBE9BB

Accessibility & contrast

On white

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

On black

12.26
#CFCA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA5D
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA5D#FFFFFF#000000##000000
##CFCA5D1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#DCBEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca5d;
/* rgb */ color: rgb(207, 202, 93);
/* oklch */ color: oklch(82.1% 0.131 106.5);
Tailwind
colors: {
  custom: {
    50: '#e0d98e',
    500: '#cfca5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfca5d;
$custom-light: #e0d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca5d",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 57.368,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82142,
    "c": 0.13127,
    "h": 106.5
  },
  "luminance": 0.56297
}

Semantic roles & 50–950 ramp

primary
#CFCA5D
secondary
#414490
accent
#51DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFCA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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