#CECB62#CECB62

#CECB62 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.128 H 107.4°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CECB62
RGBrgb(206, 203, 98)
HSLhsl(58, 52%, 60%)
HSVhsv(58, 52%, 81%)
CMYKcmyk(0%, 1.5%, 52.4%, 19.2%)
CIE-LABlab(80.02, -12.92, 52.02)
CIE-LCHlch(80.02, 53.60, 103.95°)
OKLaboklab(82.33% -0.0382 0.122)
OKLCHoklch(82.33% 0.128 107.4)
XYZxyz(49.0154, 56.7169, 19.9184)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB62 #6265CE
analogous
#CE9562 #CECB62 #9BCE62
triadic
#CECB62 #62CECB #CB62CE
tetradic
#CECB62 #62CE95 #6265CE #CE629B
square
#CECB62 #62CE95 #6265CE #CE629B
split-complementary
#CECB62 #629BCE #9562CE
monochromatic
#8A882B #B9B63A #CECB62 #DDDA91 #EBEABF

Accessibility & contrast

On white

1.70
#CECB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CECB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB62
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB62#FFFFFF#000000##000000
##CECB621.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#DCC867
Tritanopia (blue-blind)
#DBC0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb62;
/* rgb */ color: rgb(206, 203, 98);
/* oklch */ color: oklch(82.3% 0.128 107.4);
Tailwind
colors: {
  custom: {
    50: '#dfda92',
    500: '#cecb62',
    950: '#000000',
  },
}
SCSS
$custom: #cecb62;
$custom-light: #dfda92;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb62",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 58.333,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82328,
    "c": 0.12781,
    "h": 107.4
  },
  "luminance": 0.56716
}

Semantic roles & 50–950 ramp

primary
#CECB62
secondary
#434591
accent
#50DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CECB62

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

Preview Lab → · Contrast checker → · Palette generator →

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