#CFD54A#CFD54A

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

Color values

HEX#CFD54A
RGBrgb(207, 213, 74)
HSLhsl(63, 62%, 56%)
HSVhsv(63, 65%, 84%)
CMYKcmyk(2.8%, 0%, 65.3%, 16.5%)
CIE-LABlab(82.57, -19.18, 65.19)
CIE-LCHlch(82.57, 67.95, 106.40°)
OKLaboklab(84.31% -0.0585 0.1469)
OKLCHoklch(84.31% 0.158 111.7)
XYZxyz(50.7639, 61.3495, 15.6448)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD54A #504AD5
analogous
#D5964A #CFD54A #8AD54A
triadic
#CFD54A #4ACFD5 #D54ACF
tetradic
#CFD54A #4AD596 #504AD5 #D54A8A
square
#CFD54A #4AD596 #504AD5 #D54A8A
split-complementary
#CFD54A #4A8AD5 #964AD5
monochromatic
#81861F #B1B72B #CFD54A #DCE17C #E9ECAD

Accessibility & contrast

On white

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

On black

13.27
#CFD54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD54A
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD54A#FFFFFF#000000##000000
##CFD54A1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC37
Deuteranopia (green-blind)
#E5CF53
Tritanopia (blue-blind)
#DDC8B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd54a;
/* rgb */ color: rgb(207, 213, 74);
/* oklch */ color: oklch(84.3% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#e1e184',
    500: '#cfd54a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd54a;
$custom-light: #e1e184;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd54a",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 62.59,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8431,
    "c": 0.15815,
    "h": 111.7
  },
  "luminance": 0.61348
}

Semantic roles & 50–950 ramp

primary
#CFD54A
secondary
#3B378C
accent
#42E549
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD54A

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

Preview Lab → · Contrast checker → · Palette generator →

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