#CEC062#CEC062

#CEC062 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.117 H 100.9°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CEC062
RGBrgb(206, 192, 98)
HSLhsl(52, 52%, 60%)
HSVhsv(52, 52%, 81%)
CMYKcmyk(0%, 6.8%, 52.4%, 19.2%)
CIE-LABlab(77.10, -7.30, 48.60)
CIE-LCHlch(77.10, 49.14, 98.55°)
OKLaboklab(80.01% -0.0222 0.1145)
OKLCHoklch(80.01% 0.117 100.9)
XYZxyz(46.5093, 51.7046, 19.0830)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC062 #6270CE
analogous
#CE8A62 #CEC062 #A6CE62
triadic
#CEC062 #62CEC0 #C062CE
tetradic
#CEC062 #62CE8A #6270CE #CE62A6
square
#CEC062 #62CE8A #6270CE #CE62A6
split-complementary
#CEC062 #62A6CE #8A62CE
monochromatic
#8A7E2B #B9A93A #CEC062 #DDD391 #EBE5BF

Accessibility & contrast

On white

1.85
#CEC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CEC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC062
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC062#FFFFFF#000000##000000
##CEC0621.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D3C166
Tritanopia (blue-blind)
#DCB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec062;
/* rgb */ color: rgb(206, 192, 98);
/* oklch */ color: oklch(80.0% 0.117 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfd291',
    500: '#cec062',
    950: '#000000',
  },
}
SCSS
$custom: #cec062;
$custom-light: #dfd291;
$custom-dark: #000000;
JSON
{
  "hex": "#cec062",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 52.222,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80011,
    "c": 0.11666,
    "h": 100.9
  },
  "luminance": 0.51703
}

Semantic roles & 50–950 ramp

primary
#CEC062
secondary
#434D91
accent
#5FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC062

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

Preview Lab → · Contrast checker → · Palette generator →

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