#CED257#CED257

#CED257 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.145 H 110.9°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CED257
RGBrgb(206, 210, 87)
HSLhsl(62, 58%, 58%)
HSVhsv(62, 59%, 82%)
CMYKcmyk(1.9%, 0%, 58.6%, 17.6%)
CIE-LABlab(81.79, -17.27, 58.97)
CIE-LCHlch(81.79, 61.45, 106.32°)
OKLaboklab(83.7% -0.0518 0.1356)
OKLCHoklch(83.7% 0.145 110.9)
XYZxyz(50.2218, 59.9043, 17.9321)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED257 #5B57D2
analogous
#D29857 #CED257 #90D257
triadic
#CED257 #57CED2 #D257CE
tetradic
#CED257 #57D298 #5B57D2 #D25790
square
#CED257 #57D298 #5B57D2 #D25790
split-complementary
#CED257 #5790D2 #9857D2
monochromatic
#868A25 #B6BA32 #CED257 #DCDF87 #EAECB8

Accessibility & contrast

On white

1.62
#CED257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#CED257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED257
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED257#FFFFFF#000000##000000
##CED2571.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C949
Deuteranopia (green-blind)
#E2CD5E
Tritanopia (blue-blind)
#DBC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ced257;
/* rgb */ color: rgb(206, 210, 87);
/* oklch */ color: oklch(83.7% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#e0df8b',
    500: '#ced257',
    950: '#000000',
  },
}
SCSS
$custom: #ced257;
$custom-light: #e0df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ced257",
  "rgb": {
    "r": 206,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 61.951,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83702,
    "c": 0.14515,
    "h": 110.9
  },
  "luminance": 0.59903
}

Semantic roles & 50–950 ramp

primary
#CED257
secondary
#403D90
accent
#47E14C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CED257

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

Preview Lab → · Contrast checker → · Palette generator →

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