#CED74D#CED74D

#CED74D is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.7% C 0.158 H 112.9°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#CED74D
RGBrgb(206, 215, 77)
HSLhsl(64, 63%, 57%)
HSVhsv(64, 64%, 84%)
CMYKcmyk(4.2%, 0%, 64.2%, 15.7%)
CIE-LABlab(83.05, -20.39, 64.48)
CIE-LCHlch(83.05, 67.63, 107.55°)
OKLaboklab(84.69% -0.0616 0.1459)
OKLCHoklch(84.69% 0.158 112.9)
XYZxyz(51.0950, 62.2596, 16.3454)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED74D #564DD7
analogous
#D79B4D #CED74D #89D74D
triadic
#CED74D #4DCED7 #D74DCE
tetradic
#CED74D #4DD79B #564DD7 #D74D89
square
#CED74D #4DD79B #564DD7 #D74D89
split-complementary
#CED74D #4D89D7 #9B4DD7
monochromatic
#838A1F #B3BC2A #CED74D #DCE27F #EAEDB1

Accessibility & contrast

On white

1.56
#CED74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#CED74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED74D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED74D#FFFFFF#000000##000000
##CED74D1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3A
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#DBCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ced74d;
/* rgb */ color: rgb(206, 215, 77);
/* oklch */ color: oklch(84.7% 0.158 112.9);
Tailwind
colors: {
  custom: {
    50: '#e0e386',
    500: '#ced74d',
    950: '#000000',
  },
}
SCSS
$custom: #ced74d;
$custom-light: #e0e386;
$custom-dark: #000000;
JSON
{
  "hex": "#ced74d",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 63.913,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84687,
    "c": 0.15837,
    "h": 112.9
  },
  "luminance": 0.62259
}

Semantic roles & 50–950 ramp

primary
#CED74D
secondary
#3E3890
accent
#41E64C
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CED74D

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

Preview Lab → · Contrast checker → · Palette generator →

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