#CEC130#CEC130

#CEC130 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.155 H 104.0°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CEC130
RGBrgb(206, 193, 48)
HSLhsl(55, 62%, 50%)
HSVhsv(55, 77%, 81%)
CMYKcmyk(0%, 6.3%, 76.7%, 19.2%)
CIE-LABlab(76.97, -10.85, 68.99)
CIE-LCHlch(76.97, 69.84, 98.94°)
OKLaboklab(79.77% -0.0376 0.1505)
OKLCHoklch(79.77% 0.155 104)
XYZxyz(45.0591, 51.4770, 10.3583)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC130 #303DCE
analogous
#CE7230 #CEC130 #8CCE30
triadic
#CEC130 #30CEC1 #C130CE
tetradic
#CEC130 #30CE72 #303DCE #CE308C
square
#CEC130 #30CE72 #303DCE #CE308C
split-complementary
#CEC130 #308CCE #7230CE
monochromatic
#6B6419 #9C9224 #CEC130 #DAD061 #E6DF93

Accessibility & contrast

On white

1.86
#CEC130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CEC130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC130
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC130#FFFFFF#000000##000000
##CEC1301.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA0A
Deuteranopia (green-blind)
#D7C13B
Tritanopia (blue-blind)
#DEB3A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec130;
/* rgb */ color: rgb(206, 193, 48);
/* oklch */ color: oklch(79.8% 0.155 104.0);
Tailwind
colors: {
  custom: {
    50: '#e1d374',
    500: '#cec130',
    950: '#000000',
  },
}
SCSS
$custom: #cec130;
$custom-light: #e1d374;
$custom-dark: #000000;
JSON
{
  "hex": "#cec130",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 48
  },
  "hsl": {
    "h": 55.063,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79773,
    "c": 0.15511,
    "h": 104
  },
  "luminance": 0.51475
}

Semantic roles & 50–950 ramp

primary
#CEC130
secondary
#2E3474
accent
#50E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CEC130

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

Preview Lab → · Contrast checker → · Palette generator →

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