#CECA3F#CECA3F

#CECA3F is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.155 H 107.7°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CECA3F
RGBrgb(206, 202, 63)
HSLhsl(58, 59%, 53%)
HSVhsv(58, 69%, 81%)
CMYKcmyk(0%, 1.9%, 69.4%, 19.2%)
CIE-LABlab(79.46, -14.74, 66.21)
CIE-LCHlch(79.46, 67.83, 102.55°)
OKLaboklab(81.78% -0.0471 0.1473)
OKLCHoklch(81.78% 0.155 107.7)
XYZxyz(47.4731, 55.7233, 12.9566)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA3F #3F43CE
analogous
#CE833F #CECA3F #8ACE3F
triadic
#CECA3F #3FCECA #CA3FCE
tetradic
#CECA3F #3FCE83 #3F43CE #CE3F8A
square
#CECA3F #3FCE83 #3F43CE #CE3F8A
split-complementary
#CECA3F #3F8ACE #833FCE
monochromatic
#75721E #A6A22A #CECA3F #DAD770 #E7E5A1

Accessibility & contrast

On white

1.73
#CECA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CECA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA3F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA3F#FFFFFF#000000##000000
##CECA3F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC228
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#DDBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca3f;
/* rgb */ color: rgb(206, 202, 63);
/* oklch */ color: oklch(81.8% 0.155 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0d97d',
    500: '#ceca3f',
    950: '#000000',
  },
}
SCSS
$custom: #ceca3f;
$custom-light: #e0d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca3f",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 58.322,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81783,
    "c": 0.15466,
    "h": 107.7
  },
  "luminance": 0.55722
}

Semantic roles & 50–950 ramp

primary
#CECA3F
secondary
#34367D
accent
#4AE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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