#CFD51E#CFD51E

#CFD51E is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.180 H 111.8°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CFD51E
RGBrgb(207, 213, 30)
HSLhsl(62, 75%, 48%)
HSVhsv(62, 86%, 84%)
CMYKcmyk(2.8%, 0%, 85.9%, 16.5%)
CIE-LABlab(82.35, -20.94, 78.23)
CIE-LCHlch(82.35, 80.99, 104.98°)
OKLaboklab(84.07% -0.0669 0.1673)
OKLCHoklch(84.07% 0.18 111.8)
XYZxyz(49.7626, 60.9490, 10.3710)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD51E #241ED5
analogous
#D57F1E #CFD51E #74D51E
triadic
#CFD51E #1ECFD5 #D51ECF
tetradic
#CFD51E #1ED57F #241ED5 #D51E74
square
#CFD51E #1ED57F #241ED5 #D51E74
split-complementary
#CFD51E #1E74D5 #7F1ED5
monochromatic
#676A0F #9B9F16 #CFD51E #E1E64B #EAED80

Accessibility & contrast

On white

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

On black

13.19
#CFD51E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD51E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD51E#FFFFFF#000000##000000
##CFD51E1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#E7CF34
Tritanopia (blue-blind)
#DEC7B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd51e;
/* rgb */ color: rgb(207, 213, 30);
/* oklch */ color: oklch(84.1% 0.180 111.8);
Tailwind
colors: {
  custom: {
    50: '#e2e170',
    500: '#cfd51e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd51e;
$custom-light: #e2e170;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd51e",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 30
  },
  "hsl": {
    "h": 61.967,
    "s": 75.309,
    "l": 47.647
  },
  "oklch": {
    "l": 0.8407,
    "c": 0.18023,
    "h": 111.8
  },
  "luminance": 0.60948
}

Semantic roles & 50–950 ramp

primary
#CFD51E
secondary
#262473
accent
#36F23C
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #CFD51E

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

Preview Lab → · Contrast checker → · Palette generator →

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