#CFD54F#CFD54F

#CFD54F is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.4% C 0.154 H 111.7°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#CFD54F
RGBrgb(207, 213, 79)
HSLhsl(63, 61%, 57%)
HSVhsv(63, 63%, 84%)
CMYKcmyk(2.8%, 0%, 62.9%, 16.5%)
CIE-LABlab(82.60, -18.88, 63.23)
CIE-LCHlch(82.60, 65.99, 106.62°)
OKLaboklab(84.35% -0.0572 0.1435)
OKLCHoklch(84.35% 0.155 111.7)
XYZxyz(50.9391, 61.4196, 16.5674)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD54F #554FD5
analogous
#D5984F #CFD54F #8CD54F
triadic
#CFD54F #4FCFD5 #D54FCF
tetradic
#CFD54F #4FD598 #554FD5 #D54F8C
square
#CFD54F #4FD598 #554FD5 #D54F8C
split-complementary
#CFD54F #4F8CD5 #984FD5
monochromatic
#848921 #B4BA2C #CFD54F #DCE180 #EAEDB2

Accessibility & contrast

On white

1.58
#CFD54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#CFD54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD54F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD54F#FFFFFF#000000##000000
##CFD54F1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC3E
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#DCC9B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd54f;
/* rgb */ color: rgb(207, 213, 79);
/* oklch */ color: oklch(84.4% 0.154 111.7);
Tailwind
colors: {
  custom: {
    50: '#e1e187',
    500: '#cfd54f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd54f;
$custom-light: #e1e187;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd54f",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 62.687,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84352,
    "c": 0.1545,
    "h": 111.7
  },
  "luminance": 0.61418
}

Semantic roles & 50–950 ramp

primary
#CFD54F
secondary
#3D398F
accent
#43E54A
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD54F

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

Preview Lab → · Contrast checker → · Palette generator →

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