#CFCE5A#CFCE5A

#CFCE5A is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.138 H 108.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CFCE5A
RGBrgb(207, 206, 90)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 57%, 81%)
CMYKcmyk(0%, 0.5%, 56.5%, 18.8%)
CIE-LABlab(80.82, -14.65, 56.60)
CIE-LCHlch(80.82, 58.47, 104.51°)
OKLaboklab(82.96% -0.0441 0.1309)
OKLCHoklch(82.96% 0.138 108.6)
XYZxyz(49.6503, 58.1475, 18.2790)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE5A #5A5BCF
analogous
#CF935A #CFCE5A #95CF5A
triadic
#CFCE5A #5ACFCE #CE5ACF
tetradic
#CFCE5A #5ACF93 #5A5BCF #CF5A95
square
#CFCE5A #5ACF93 #5A5BCF #CF5A95
split-complementary
#CFCE5A #5A95CF #935ACF
monochromatic
#878627 #B7B635 #CFCE5A #DDDC89 #EBEAB9

Accessibility & contrast

On white

1.66
#CFCE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CFCE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE5A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE5A#FFFFFF#000000##000000
##CFCE5A1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#DCC2B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfce5a;
/* rgb */ color: rgb(207, 206, 90);
/* oklch */ color: oklch(83.0% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#e0dc8d',
    500: '#cfce5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfce5a;
$custom-light: #e0dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce5a",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 59.487,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82959,
    "c": 0.13813,
    "h": 108.6
  },
  "luminance": 0.58146
}

Semantic roles & 50–950 ramp

primary
#CFCE5A
secondary
#3F408E
accent
#4BDE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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