#CED371#CED371

#CED371 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.122 H 111.3°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#CED371
RGBrgb(206, 211, 113)
HSLhsl(63, 53%, 64%)
HSVhsv(63, 46%, 83%)
CMYKcmyk(2.4%, 0%, 46.4%, 17.3%)
CIE-LABlab(82.33, -15.59, 47.63)
CIE-LCHlch(82.33, 50.12, 108.13°)
OKLaboklab(84.22% -0.0444 0.1137)
OKLCHoklch(84.22% 0.122 111.3)
XYZxyz(51.7294, 60.9036, 24.6501)
Luminance0.6090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED371 #7671D3
analogous
#D3A771 #CED371 #9DD371
triadic
#CED371 #71CED3 #D371CE
tetradic
#CED371 #71D3A7 #7671D3 #D3719D
square
#CED371 #71D3A7 #7671D3 #D3719D
split-complementary
#CED371 #719DD3 #A771D3
monochromatic
#949A30 #BEC542 #CED371 #DEE1A0 #EEF0CE

Accessibility & contrast

On white

1.59
#CED371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#CED371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED371
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED371#FFFFFF#000000##000000
##CED3711.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB69
Deuteranopia (green-blind)
#E1CE76
Tritanopia (blue-blind)
#D9C9BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ced371;
/* rgb */ color: rgb(206, 211, 113);
/* oklch */ color: oklch(84.2% 0.122 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfe09c',
    500: '#ced371',
    950: '#000000',
  },
}
SCSS
$custom: #ced371;
$custom-light: #dfe09c;
$custom-dark: #000000;
JSON
{
  "hex": "#ced371",
  "rgb": {
    "r": 206,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 63.061,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84221,
    "c": 0.12205,
    "h": 111.3
  },
  "luminance": 0.60903
}

Semantic roles & 50–950 ramp

primary
#CED371
secondary
#4E499F
accent
#25C02D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CED371

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

Preview Lab → · Contrast checker → · Palette generator →

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