#CFD53F#CFD53F

#CFD53F is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.2% C 0.165 H 111.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#CFD53F
RGBrgb(207, 213, 63)
HSLhsl(62, 64%, 54%)
HSVhsv(62, 70%, 84%)
CMYKcmyk(2.8%, 0%, 70.4%, 16.5%)
CIE-LABlab(82.49, -19.77, 69.21)
CIE-LCHlch(82.49, 71.98, 105.95°)
OKLaboklab(84.23% -0.0613 0.1536)
OKLCHoklch(84.23% 0.165 111.7)
XYZxyz(50.4252, 61.2140, 13.8609)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD53F #453FD5
analogous
#D5903F #CFD53F #84D53F
triadic
#CFD53F #3FCFD5 #D53FCF
tetradic
#CFD53F #3FD590 #453FD5 #D53F84
square
#CFD53F #3FD590 #453FD5 #D53F84
split-complementary
#CFD53F #3F84D5 #903FD5
monochromatic
#7A7E1C #ABB027 #CFD53F #DCE071 #E8EBA3

Accessibility & contrast

On white

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

On black

13.24
#CFD53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD53F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD53F#FFFFFF#000000##000000
##CFD53F1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB24
Deuteranopia (green-blind)
#E6CF4A
Tritanopia (blue-blind)
#DDC8B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd53f;
/* rgb */ color: rgb(207, 213, 63);
/* oklch */ color: oklch(84.2% 0.165 111.7);
Tailwind
colors: {
  custom: {
    50: '#e1e17e',
    500: '#cfd53f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd53f;
$custom-light: #e1e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd53f",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 63
  },
  "hsl": {
    "h": 62.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84229,
    "c": 0.16537,
    "h": 111.7
  },
  "luminance": 0.61213
}

Semantic roles & 50–950 ramp

primary
#CFD53F
secondary
#363385
accent
#41E747
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD53F

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

Preview Lab → · Contrast checker → · Palette generator →

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