#CEC750#CEC750

#CEC750 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.139 H 105.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CEC750
RGBrgb(206, 199, 80)
HSLhsl(57, 56%, 56%)
HSVhsv(57, 61%, 81%)
CMYKcmyk(0%, 3.4%, 61.2%, 19.2%)
CIE-LABlab(78.78, -12.24, 58.71)
CIE-LCHlch(78.78, 59.97, 101.77°)
OKLaboklab(81.29% -0.0383 0.1341)
OKLCHoklch(81.29% 0.139 105.9)
XYZxyz(47.3266, 54.5494, 15.6240)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC750 #5057CE
analogous
#CE8850 #CEC750 #96CE50
triadic
#CEC750 #50CEC7 #C750CE
tetradic
#CEC750 #50CE88 #5057CE #CE5096
square
#CEC750 #50CE88 #5057CE #CE5096
split-complementary
#CEC750 #5096CE #8850CE
monochromatic
#807B24 #B0A931 #CEC750 #DBD680 #E9E6B0

Accessibility & contrast

On white

1.76
#CEC750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CEC750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC750
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC750#FFFFFF#000000##000000
##CEC7501.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#DCBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec750;
/* rgb */ color: rgb(206, 199, 80);
/* oklch */ color: oklch(81.3% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#e0d786',
    500: '#cec750',
    950: '#000000',
  },
}
SCSS
$custom: #cec750;
$custom-light: #e0d786;
$custom-dark: #000000;
JSON
{
  "hex": "#cec750",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 80
  },
  "hsl": {
    "h": 56.667,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81286,
    "c": 0.13947,
    "h": 105.9
  },
  "luminance": 0.54548
}

Semantic roles & 50–950 ramp

primary
#CEC750
secondary
#3B3F87
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC750

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

Preview Lab → · Contrast checker → · Palette generator →

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