#CFCA5B#CFCA5B

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

Color values

HEX#CFCA5B
RGBrgb(207, 202, 91)
HSLhsl(57, 55%, 58%)
HSVhsv(57, 56%, 81%)
CMYKcmyk(0%, 2.4%, 56%, 18.8%)
CIE-LABlab(79.76, -12.56, 54.96)
CIE-LCHlch(79.76, 56.38, 102.87°)
OKLaboklab(82.12% -0.038 0.1275)
OKLCHoklch(82.12% 0.133 106.6)
XYZxyz(48.7424, 56.2633, 18.1878)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA5B #5B60CF
analogous
#CF905B #CFCA5B #9ACF5B
triadic
#CFCA5B #5BCFCA #CA5BCF
tetradic
#CFCA5B #5BCF90 #5B60CF #CF5B9A
square
#CFCA5B #5BCF90 #5B60CF #CF5B9A
split-complementary
#CFCA5B #5B9ACF #905BCF
monochromatic
#888428 #B7B236 #CFCA5B #DDD98A #EBE9BA

Accessibility & contrast

On white

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

On black

12.25
#CFCA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA5B
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA5B#FFFFFF#000000##000000
##CFCA5B1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfca5b;
/* rgb */ color: rgb(207, 202, 91);
/* oklch */ color: oklch(82.1% 0.133 106.6);
Tailwind
colors: {
  custom: {
    50: '#e0d98d',
    500: '#cfca5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfca5b;
$custom-light: #e0d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca5b",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 57.414,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8212,
    "c": 0.13307,
    "h": 106.6
  },
  "luminance": 0.56262
}

Semantic roles & 50–950 ramp

primary
#CFCA5B
secondary
#40438F
accent
#50DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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