#CEC057#CEC057

#CEC057 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.127 H 101.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CEC057
RGBrgb(206, 192, 87)
HSLhsl(53, 55%, 57%)
HSVhsv(53, 58%, 81%)
CMYKcmyk(0%, 6.8%, 57.8%, 19.2%)
CIE-LABlab(76.99, -8.17, 53.62)
CIE-LCHlch(76.99, 54.24, 98.67°)
OKLaboklab(79.88% -0.0259 0.1242)
OKLCHoklch(79.88% 0.127 101.8)
XYZxyz(46.0252, 51.5109, 16.5332)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC057 #5765CE
analogous
#CE8457 #CEC057 #A1CE57
triadic
#CEC057 #57CEC0 #C057CE
tetradic
#CEC057 #57CE84 #5765CE #CE57A1
square
#CEC057 #57CE84 #5765CE #CE57A1
split-complementary
#CEC057 #57A1CE #8457CE
monochromatic
#847927 #B3A534 #CEC057 #DCD286 #EAE4B6

Accessibility & contrast

On white

1.86
#CEC057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CEC057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC057
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC057#FFFFFF#000000##000000
##CEC0571.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4C
Deuteranopia (green-blind)
#D4C15C
Tritanopia (blue-blind)
#DCB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec057;
/* rgb */ color: rgb(206, 192, 87);
/* oklch */ color: oklch(79.9% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#e0d28a',
    500: '#cec057',
    950: '#000000',
  },
}
SCSS
$custom: #cec057;
$custom-light: #e0d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec057",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 52.941,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79881,
    "c": 0.12687,
    "h": 101.8
  },
  "luminance": 0.51509
}

Semantic roles & 50–950 ramp

primary
#CEC057
secondary
#3E478B
accent
#5BDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC057

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

Preview Lab → · Contrast checker → · Palette generator →

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