#CFCE5F#CFCE5F

#CFCE5F is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.134 H 108.5°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CFCE5F
RGBrgb(207, 206, 95)
HSLhsl(59, 54%, 59%)
HSVhsv(59, 54%, 81%)
CMYKcmyk(0%, 0.5%, 54.1%, 18.8%)
CIE-LABlab(80.87, -14.26, 54.40)
CIE-LCHlch(80.87, 56.24, 104.69°)
OKLaboklab(83.01% -0.0424 0.1268)
OKLCHoklch(83.01% 0.134 108.5)
XYZxyz(49.8703, 58.2355, 19.4378)
Luminance0.5823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE5F #5F60CF
analogous
#CF965F #CFCE5F #98CF5F
triadic
#CFCE5F #5FCFCE #CE5FCF
tetradic
#CFCE5F #5FCF96 #5F60CF #CF5F98
square
#CFCE5F #5FCF96 #5F60CF #CF5F98
split-complementary
#CFCE5F #5F98CF #965FCF
monochromatic
#8A8929 #B9B838 #CFCE5F #DDDC8E #EBEBBD

Accessibility & contrast

On white

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

On black

12.65
#CFCE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE5F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE5F#FFFFFF#000000##000000
##CFCE5F1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfce5f;
/* rgb */ color: rgb(207, 206, 95);
/* oklch */ color: oklch(83.0% 0.134 108.5);
Tailwind
colors: {
  custom: {
    50: '#e0dc90',
    500: '#cfce5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfce5f;
$custom-light: #e0dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce5f",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 59.464,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83014,
    "c": 0.13368,
    "h": 108.5
  },
  "luminance": 0.58234
}

Semantic roles & 50–950 ramp

primary
#CFCE5F
secondary
#414291
accent
#4CDD4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFCE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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