#CFD457#CFD457

#CFD457 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.2% C 0.147 H 111.3°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#CFD457
RGBrgb(207, 212, 87)
HSLhsl(62, 59%, 59%)
HSVhsv(62, 59%, 83%)
CMYKcmyk(2.4%, 0%, 59%, 16.9%)
CIE-LABlab(82.40, -17.85, 59.67)
CIE-LCHlch(82.40, 62.28, 106.65°)
OKLaboklab(84.21% -0.0535 0.1371)
OKLCHoklch(84.21% 0.147 111.3)
XYZxyz(50.9973, 61.0416, 18.1108)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD457 #5C57D4
analogous
#D49A57 #CFD457 #90D457
triadic
#CFD457 #57CFD4 #D457CF
tetradic
#CFD457 #57D49A #5C57D4 #D45790
square
#CFD457 #57D49A #5C57D4 #D45790
split-complementary
#CFD457 #5790D4 #9A57D4
monochromatic
#888D24 #B8BD30 #CFD457 #DDE088 #EBEDB8

Accessibility & contrast

On white

1.59
#CFD457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#CFD457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD457
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD457#FFFFFF#000000##000000
##CFD4571.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#DCC8B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd457;
/* rgb */ color: rgb(207, 212, 87);
/* oklch */ color: oklch(84.2% 0.147 111.3);
Tailwind
colors: {
  custom: {
    50: '#e0e18b',
    500: '#cfd457',
    950: '#000000',
  },
}
SCSS
$custom: #cfd457;
$custom-light: #e0e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd457",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 62.4,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84212,
    "c": 0.14712,
    "h": 111.3
  },
  "luminance": 0.6104
}

Semantic roles & 50–950 ramp

primary
#CFD457
secondary
#403D93
accent
#45E24C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD457

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

Preview Lab → · Contrast checker → · Palette generator →

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