#CECA57#CECA57

#CECA57 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.137 H 107.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CECA57
RGBrgb(206, 202, 87)
HSLhsl(58, 55%, 57%)
HSVhsv(58, 58%, 81%)
CMYKcmyk(0%, 1.9%, 57.8%, 19.2%)
CIE-LABlab(79.64, -13.27, 56.60)
CIE-LCHlch(79.64, 58.13, 103.19°)
OKLaboklab(81.99% -0.0404 0.1306)
OKLCHoklch(81.99% 0.137 107.2)
XYZxyz(48.2959, 56.0524, 17.2901)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA57 #575BCE
analogous
#CE8E57 #CECA57 #97CE57
triadic
#CECA57 #57CECA #CA57CE
tetradic
#CECA57 #57CE8E #575BCE #CE5797
square
#CECA57 #57CE8E #575BCE #CE5797
split-complementary
#CECA57 #5797CE #8E57CE
monochromatic
#848127 #B3AF34 #CECA57 #DCD986 #EAE8B6

Accessibility & contrast

On white

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

On black

12.21
#CECA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA57
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA57#FFFFFF#000000##000000
##CECA571.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34B
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#DCBEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca57;
/* rgb */ color: rgb(206, 202, 87);
/* oklch */ color: oklch(82.0% 0.137 107.2);
Tailwind
colors: {
  custom: {
    50: '#e0d98b',
    500: '#ceca57',
    950: '#000000',
  },
}
SCSS
$custom: #ceca57;
$custom-light: #e0d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca57",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 57.983,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81993,
    "c": 0.13667,
    "h": 107.2
  },
  "luminance": 0.56051
}

Semantic roles & 50–950 ramp

primary
#CECA57
secondary
#3E418B
accent
#4FDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECA57

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

Preview Lab → · Contrast checker → · Palette generator →

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