#CFD75F#CFD75F

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

Color values

HEX#CFD75F
RGBrgb(207, 215, 95)
HSLhsl(64, 60%, 61%)
HSVhsv(64, 56%, 84%)
CMYKcmyk(3.7%, 0%, 55.8%, 15.7%)
CIE-LABlab(83.28, -18.74, 57.14)
CIE-LCHlch(83.28, 60.14, 108.15°)
OKLaboklab(84.94% -0.0551 0.1326)
OKLCHoklch(84.94% 0.144 112.6)
XYZxyz(52.0993, 62.6935, 20.1808)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD75F #675FD7
analogous
#D7A35F #CFD75F #93D75F
triadic
#CFD75F #5FCFD7 #D75FCF
tetradic
#CFD75F #5FD7A3 #675FD7 #D75F93
square
#CFD75F #5FD7A3 #675FD7 #D75F93
split-complementary
#CFD75F #5F93D7 #A35FD7
monochromatic
#8F9626 #BDC732 #CFD75F #DEE390 #ECEFC1

Accessibility & contrast

On white

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

On black

13.54
#CFD75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD75F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD75F#FFFFFF#000000##000000
##CFD75F1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd75f;
/* rgb */ color: rgb(207, 215, 95);
/* oklch */ color: oklch(84.9% 0.144 112.6);
Tailwind
colors: {
  custom: {
    50: '#e0e390',
    500: '#cfd75f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd75f;
$custom-light: #e0e390;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd75f",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 64,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84938,
    "c": 0.14364,
    "h": 112.6
  },
  "luminance": 0.62692
}

Semantic roles & 50–950 ramp

primary
#CFD75F
secondary
#453F9B
accent
#1EC829
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD75F

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

Preview Lab → · Contrast checker → · Palette generator →

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