#CFD54C#CFD54C

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

Color values

HEX#CFD54C
RGBrgb(207, 213, 76)
HSLhsl(63, 62%, 57%)
HSVhsv(63, 64%, 84%)
CMYKcmyk(2.8%, 0%, 64.3%, 16.5%)
CIE-LABlab(82.58, -19.06, 64.42)
CIE-LCHlch(82.58, 67.18, 106.49°)
OKLaboklab(84.33% -0.058 0.1456)
OKLCHoklch(84.33% 0.157 111.7)
XYZxyz(50.8324, 61.3769, 16.0053)
Luminance0.6138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD54C #524CD5
analogous
#D5974C #CFD54C #8BD54C
triadic
#CFD54C #4CCFD5 #D54CCF
tetradic
#CFD54C #4CD597 #524CD5 #D54C8B
square
#CFD54C #4CD597 #524CD5 #D54C8B
split-complementary
#CFD54C #4C8BD5 #974CD5
monochromatic
#828720 #B2B92B #CFD54C #DCE17E #EAECAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD54C#FFFFFF#000000##000000
##CFD54C1.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)
#E5CC39
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#DDC9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd54c;
/* rgb */ color: rgb(207, 213, 76);
/* oklch */ color: oklch(84.3% 0.157 111.7);
Tailwind
colors: {
  custom: {
    50: '#e1e185',
    500: '#cfd54c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd54c;
$custom-light: #e1e185;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd54c",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 62.628,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84327,
    "c": 0.15672,
    "h": 111.7
  },
  "luminance": 0.61376
}

Semantic roles & 50–950 ramp

primary
#CFD54C
secondary
#3C388D
accent
#43E54A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD54C

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

Preview Lab → · Contrast checker → · Palette generator →

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