#CEC362#CEC362

#CEC362 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.120 H 102.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CEC362
RGBrgb(206, 195, 98)
HSLhsl(54, 52%, 60%)
HSVhsv(54, 52%, 81%)
CMYKcmyk(0%, 5.3%, 52.4%, 19.2%)
CIE-LABlab(77.90, -8.85, 49.53)
CIE-LCHlch(77.90, 50.32, 100.13°)
OKLaboklab(80.64% -0.0266 0.1166)
OKLCHoklch(80.64% 0.12 102.9)
XYZxyz(47.1747, 53.0355, 19.3048)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC362 #626DCE
analogous
#CE8D62 #CEC362 #A3CE62
triadic
#CEC362 #62CEC3 #C362CE
tetradic
#CEC362 #62CE8D #626DCE #CE62A3
square
#CEC362 #62CE8D #626DCE #CE62A3
split-complementary
#CEC362 #62A3CE #8D62CE
monochromatic
#8A812B #B9AC3A #CEC362 #DDD591 #EBE7BF

Accessibility & contrast

On white

1.81
#CEC362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CEC362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC362
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC362#FFFFFF#000000##000000
##CEC3621.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD59
Deuteranopia (green-blind)
#D5C367
Tritanopia (blue-blind)
#DBB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec362;
/* rgb */ color: rgb(206, 195, 98);
/* oklch */ color: oklch(80.6% 0.120 102.9);
Tailwind
colors: {
  custom: {
    50: '#dfd491',
    500: '#cec362',
    950: '#000000',
  },
}
SCSS
$custom: #cec362;
$custom-light: #dfd491;
$custom-dark: #000000;
JSON
{
  "hex": "#cec362",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 53.889,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80639,
    "c": 0.11957,
    "h": 102.9
  },
  "luminance": 0.53034
}

Semantic roles & 50–950 ramp

primary
#CEC362
secondary
#434B91
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC362

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

Preview Lab → · Contrast checker → · Palette generator →

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