#CEC748#CEC748

#CEC748 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.146 H 106.2°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CEC748
RGBrgb(206, 199, 72)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 65%, 81%)
CMYKcmyk(0%, 3.4%, 65%, 19.2%)
CIE-LABlab(78.72, -12.74, 61.98)
CIE-LCHlch(78.72, 63.27, 101.61°)
OKLaboklab(81.21% -0.0405 0.1399)
OKLCHoklch(81.21% 0.146 106.2)
XYZxyz(47.0484, 54.4381, 14.1589)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC748 #484FCE
analogous
#CE8448 #CEC748 #92CE48
triadic
#CEC748 #48CEC7 #C748CE
tetradic
#CEC748 #48CE84 #484FCE #CE4892
square
#CEC748 #48CE84 #484FCE #CE4892
split-complementary
#CEC748 #4892CE #8448CE
monochromatic
#7B7621 #ABA42E #CEC748 #DBD678 #E8E5A9

Accessibility & contrast

On white

1.77
#CEC748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CEC748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC748
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC748#FFFFFF#000000##000000
##CEC7481.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec748;
/* rgb */ color: rgb(206, 199, 72);
/* oklch */ color: oklch(81.2% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#e0d781',
    500: '#cec748',
    950: '#000000',
  },
}
SCSS
$custom: #cec748;
$custom-light: #e0d781;
$custom-dark: #000000;
JSON
{
  "hex": "#cec748",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 56.866,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81214,
    "c": 0.14562,
    "h": 106.2
  },
  "luminance": 0.54437
}

Semantic roles & 50–950 ramp

primary
#CEC748
secondary
#373B83
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC748

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

Preview Lab → · Contrast checker → · Palette generator →

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