#CFCE4B#CFCE4B

#CFCE4B is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.150 H 108.9°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CFCE4B
RGBrgb(207, 206, 75)
HSLhsl(60, 58%, 55%)
HSVhsv(60, 64%, 81%)
CMYKcmyk(0%, 0.5%, 63.8%, 18.8%)
CIE-LABlab(80.69, -15.66, 62.85)
CIE-LCHlch(80.69, 64.77, 103.99°)
OKLaboklab(82.82% -0.0485 0.1421)
OKLCHoklch(82.82% 0.15 108.9)
XYZxyz(49.0750, 57.9174, 15.2493)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE4B #4B4CCF
analogous
#CF8C4B #CFCE4B #8ECF4B
triadic
#CFCE4B #4BCFCE #CE4BCF
tetradic
#CFCE4B #4BCF8C #4B4CCF #CF4B8E
square
#CFCE4B #4BCF8C #4B4CCF #CF4B8E
split-complementary
#CFCE4B #4B8ECF #8C4BCF
monochromatic
#7E7D22 #AEAD2E #CFCE4B #DCDB7B #E9E8AC

Accessibility & contrast

On white

1.67
#CFCE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#CFCE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE4B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE4B#FFFFFF#000000##000000
##CFCE4B1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#DDC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce4b;
/* rgb */ color: rgb(207, 206, 75);
/* oklch */ color: oklch(82.8% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#e1dc84',
    500: '#cfce4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfce4b;
$custom-light: #e1dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce4b",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 59.545,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82816,
    "c": 0.15019,
    "h": 108.9
  },
  "luminance": 0.57916
}

Semantic roles & 50–950 ramp

primary
#CFCE4B
secondary
#393986
accent
#48E147
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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