#CEC348#CEC348

#CEC348 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.142 H 104.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CEC348
RGBrgb(206, 195, 72)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 65%, 81%)
CMYKcmyk(0%, 5.3%, 65%, 19.2%)
CIE-LABlab(77.65, -10.71, 60.87)
CIE-LCHlch(77.65, 61.80, 99.98°)
OKLaboklab(80.37% -0.0348 0.1375)
OKLCHoklch(80.37% 0.142 104.2)
XYZxyz(46.1402, 52.6216, 13.8562)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC348 #4853CE
analogous
#CE8048 #CEC348 #96CE48
triadic
#CEC348 #48CEC3 #C348CE
tetradic
#CEC348 #48CE80 #4853CE #CE4896
square
#CEC348 #48CE80 #4853CE #CE4896
split-complementary
#CEC348 #4896CE #8048CE
monochromatic
#7B7321 #ABA12E #CEC348 #DBD378 #E8E3A9

Accessibility & contrast

On white

1.82
#CEC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CEC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC348
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC348#FFFFFF#000000##000000
##CEC3481.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D7C34F
Tritanopia (blue-blind)
#DDB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec348;
/* rgb */ color: rgb(206, 195, 72);
/* oklch */ color: oklch(80.4% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d481',
    500: '#cec348',
    950: '#000000',
  },
}
SCSS
$custom: #cec348;
$custom-light: #e0d481;
$custom-dark: #000000;
JSON
{
  "hex": "#cec348",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 55.075,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80366,
    "c": 0.14184,
    "h": 104.2
  },
  "luminance": 0.5262
}

Semantic roles & 50–950 ramp

primary
#CEC348
secondary
#373E83
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC348

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

Preview Lab → · Contrast checker → · Palette generator →

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