#CECA5F#CECA5F

#CECA5F is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.130 H 107.0°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CECA5F
RGBrgb(206, 202, 95)
HSLhsl(58, 53%, 59%)
HSVhsv(58, 54%, 81%)
CMYKcmyk(0%, 1.9%, 53.9%, 19.2%)
CIE-LABlab(79.72, -12.66, 53.07)
CIE-LCHlch(79.72, 54.55, 103.42°)
OKLaboklab(82.08% -0.0378 0.1239)
OKLCHoklch(82.08% 0.13 107)
XYZxyz(48.6410, 56.1905, 19.1078)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA5F #5F63CE
analogous
#CE935F #CECA5F #9BCE5F
triadic
#CECA5F #5FCECA #CA5FCE
tetradic
#CECA5F #5FCE93 #5F63CE #CE5F9B
square
#CECA5F #5FCE93 #5F63CE #CE5F9B
split-complementary
#CECA5F #5F9BCE #935FCE
monochromatic
#89852A #B8B338 #CECA5F #DCDA8E #EBE9BD

Accessibility & contrast

On white

1.72
#CECA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CECA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA5F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA5F#FFFFFF#000000##000000
##CECA5F1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C354
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#DBBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ceca5f;
/* rgb */ color: rgb(206, 202, 95);
/* oklch */ color: oklch(82.1% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd990',
    500: '#ceca5f',
    950: '#000000',
  },
}
SCSS
$custom: #ceca5f;
$custom-light: #dfd990;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca5f",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 57.838,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82081,
    "c": 0.12954,
    "h": 107
  },
  "luminance": 0.56189
}

Semantic roles & 50–950 ramp

primary
#CECA5F
secondary
#42458F
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CECA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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