#CEC263#CEC263

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

Color values

HEX#CEC263
RGBrgb(206, 194, 99)
HSLhsl(53, 52%, 60%)
HSVhsv(53, 52%, 81%)
CMYKcmyk(0%, 5.8%, 51.9%, 19.2%)
CIE-LABlab(77.64, -8.25, 48.76)
CIE-LCHlch(77.64, 49.45, 99.60°)
OKLaboklab(80.44% -0.0248 0.115)
OKLCHoklch(80.44% 0.118 102.2)
XYZxyz(46.9989, 52.6078, 19.4806)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC263 #636FCE
analogous
#CE8D63 #CEC263 #A5CE63
triadic
#CEC263 #63CEC2 #C263CE
tetradic
#CEC263 #63CE8D #636FCE #CE63A5
square
#CEC263 #63CE8D #636FCE #CE63A5
split-complementary
#CEC263 #63A5CE #8D63CE
monochromatic
#8B802C #BAAB3A #CEC263 #DDD492 #EBE6C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC263#FFFFFF#000000##000000
##CEC2631.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)
#D1BD5A
Deuteranopia (green-blind)
#D5C267
Tritanopia (blue-blind)
#DBB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec263;
/* rgb */ color: rgb(206, 194, 99);
/* oklch */ color: oklch(80.4% 0.118 102.2);
Tailwind
colors: {
  custom: {
    50: '#dfd492',
    500: '#cec263',
    950: '#000000',
  },
}
SCSS
$custom: #cec263;
$custom-light: #dfd492;
$custom-dark: #000000;
JSON
{
  "hex": "#cec263",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 99
  },
  "hsl": {
    "h": 53.271,
    "s": 52.195,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80442,
    "c": 0.11761,
    "h": 102.2
  },
  "luminance": 0.52606
}

Semantic roles & 50–950 ramp

primary
#CEC263
secondary
#444C92
accent
#5CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC263

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

Preview Lab → · Contrast checker → · Palette generator →

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