#CFD545#CFD545

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

Color values

HEX#CFD545
RGBrgb(207, 213, 69)
HSLhsl(63, 63%, 55%)
HSVhsv(63, 68%, 84%)
CMYKcmyk(2.8%, 0%, 67.6%, 16.5%)
CIE-LABlab(82.53, -19.46, 67.07)
CIE-LCHlch(82.53, 69.83, 106.18°)
OKLaboklab(84.27% -0.0598 0.1501)
OKLCHoklch(84.27% 0.162 111.7)
XYZxyz(50.6021, 61.2848, 14.7926)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD545 #4B45D5
analogous
#D59345 #CFD545 #87D545
triadic
#CFD545 #45CFD5 #D545CF
tetradic
#CFD545 #45D593 #4B45D5 #D54587
square
#CFD545 #45D593 #4B45D5 #D54587
split-complementary
#CFD545 #4587D5 #9345D5
monochromatic
#7E821D #AEB429 #CFD545 #DCE077 #E9ECA9

Accessibility & contrast

On white

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

On black

13.26
#CFD545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD545
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD545#FFFFFF#000000##000000
##CFD5451.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd545;
/* rgb */ color: rgb(207, 213, 69);
/* oklch */ color: oklch(84.3% 0.162 111.7);
Tailwind
colors: {
  custom: {
    50: '#e1e181',
    500: '#cfd545',
    950: '#000000',
  },
}
SCSS
$custom: #cfd545;
$custom-light: #e1e181;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd545",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 62.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84272,
    "c": 0.16157,
    "h": 111.7
  },
  "luminance": 0.61284
}

Semantic roles & 50–950 ramp

primary
#CFD545
secondary
#393589
accent
#42E648
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD545

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

Preview Lab → · Contrast checker → · Palette generator →

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