#CED74F#CED74F

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

Color values

HEX#CED74F
RGBrgb(206, 215, 79)
HSLhsl(64, 63%, 58%)
HSVhsv(64, 63%, 84%)
CMYKcmyk(4.2%, 0%, 63.3%, 15.7%)
CIE-LABlab(83.07, -20.27, 63.70)
CIE-LCHlch(83.07, 66.84, 107.65°)
OKLaboklab(84.7% -0.061 0.1445)
OKLCHoklch(84.7% 0.157 112.9)
XYZxyz(51.1667, 62.2883, 16.7231)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED74F #584FD7
analogous
#D79C4F #CED74F #8AD74F
triadic
#CED74F #4FCED7 #D74FCE
tetradic
#CED74F #4FD79C #584FD7 #D74F8A
square
#CED74F #4FD79C #584FD7 #D74F8A
split-complementary
#CED74F #4F8AD7 #9C4FD7
monochromatic
#858C20 #B4BE2B #CED74F #DCE281 #EAEEB3

Accessibility & contrast

On white

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

On black

13.46
#CED74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED74F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED74F#FFFFFF#000000##000000
##CED74F1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ced74f;
/* rgb */ color: rgb(206, 215, 79);
/* oklch */ color: oklch(84.7% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#e0e387',
    500: '#ced74f',
    950: '#000000',
  },
}
SCSS
$custom: #ced74f;
$custom-light: #e0e387;
$custom-dark: #000000;
JSON
{
  "hex": "#ced74f",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 63.971,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84704,
    "c": 0.15689,
    "h": 112.9
  },
  "luminance": 0.62287
}

Semantic roles & 50–950 ramp

primary
#CED74F
secondary
#3E3992
accent
#42E64D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CED74F

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

Preview Lab → · Contrast checker → · Palette generator →

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