#CED271#CED271

#CED271 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.0% C 0.121 H 110.8°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#CED271
RGBrgb(206, 210, 113)
HSLhsl(62, 52%, 63%)
HSVhsv(62, 46%, 82%)
CMYKcmyk(1.9%, 0%, 46.2%, 17.6%)
CIE-LABlab(82.06, -15.10, 47.31)
CIE-LCHlch(82.06, 49.66, 107.70°)
OKLaboklab(84.01% -0.043 0.113)
OKLCHoklch(84.01% 0.121 110.8)
XYZxyz(51.4817, 60.4083, 24.5676)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED271 #7571D2
analogous
#D2A571 #CED271 #9DD271
triadic
#CED271 #71CED2 #D271CE
tetradic
#CED271 #71D2A5 #7571D2 #D2719D
square
#CED271 #71D2A5 #7571D2 #D2719D
split-complementary
#CED271 #719DD2 #A571D2
monochromatic
#949830 #BEC343 #CED271 #DEE19F #EEEFCE

Accessibility & contrast

On white

1.61
#CED271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#CED271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED271
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED271#FFFFFF#000000##000000
##CED2711.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA69
Deuteranopia (green-blind)
#E0CE76
Tritanopia (blue-blind)
#D9C8BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ced271;
/* rgb */ color: rgb(206, 210, 113);
/* oklch */ color: oklch(84.0% 0.121 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf9c',
    500: '#ced271',
    950: '#000000',
  },
}
SCSS
$custom: #ced271;
$custom-light: #dfdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ced271",
  "rgb": {
    "r": 206,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 62.474,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84008,
    "c": 0.12087,
    "h": 110.8
  },
  "luminance": 0.60407
}

Semantic roles & 50–950 ramp

primary
#CED271
secondary
#4D4A9E
accent
#26BF2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CED271

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

Preview Lab → · Contrast checker → · Palette generator →

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