#CFD75D#CFD75D

#CFD75D is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.145 H 112.6°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CFD75D
RGBrgb(207, 215, 93)
HSLhsl(64, 60%, 60%)
HSVhsv(64, 57%, 84%)
CMYKcmyk(3.7%, 0%, 56.7%, 15.7%)
CIE-LABlab(83.26, -18.89, 58.01)
CIE-LCHlch(83.26, 61.01, 108.04°)
OKLaboklab(84.92% -0.0558 0.1343)
OKLCHoklch(84.92% 0.145 112.6)
XYZxyz(52.0096, 62.6576, 19.7082)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD75D #655DD7
analogous
#D7A25D #CFD75D #92D75D
triadic
#CFD75D #5DCFD7 #D75DCF
tetradic
#CFD75D #5DD7A2 #655DD7 #D75D92
square
#CFD75D #5DD7A2 #655DD7 #D75D92
split-complementary
#CFD75D #5D92D7 #A25DD7
monochromatic
#8D9525 #BCC631 #CFD75D #DEE38E #ECEFBF

Accessibility & contrast

On white

1.55
#CFD75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#CFD75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD75D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD75D#FFFFFF#000000##000000
##CFD75D1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE50
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#DBCBBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd75d;
/* rgb */ color: rgb(207, 215, 93);
/* oklch */ color: oklch(84.9% 0.145 112.6);
Tailwind
colors: {
  custom: {
    50: '#e0e38f',
    500: '#cfd75d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd75d;
$custom-light: #e0e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd75d",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 93
  },
  "hsl": {
    "h": 63.934,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84917,
    "c": 0.14539,
    "h": 112.6
  },
  "luminance": 0.62657
}

Semantic roles & 50–950 ramp

primary
#CFD75D
secondary
#443E9A
accent
#1DC829
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD75D

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

Preview Lab → · Contrast checker → · Palette generator →

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