#CEC046#CEC046

#CEC046 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.141 H 102.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CEC046
RGBrgb(206, 192, 70)
HSLhsl(54, 58%, 54%)
HSVhsv(54, 66%, 81%)
CMYKcmyk(0%, 6.8%, 66%, 19.2%)
CIE-LABlab(76.84, -9.29, 60.84)
CIE-LCHlch(76.84, 61.55, 98.68°)
OKLaboklab(79.72% -0.031 0.1371)
OKLCHoklch(79.72% 0.141 102.7)
XYZxyz(45.4106, 51.2651, 13.2963)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC046 #4654CE
analogous
#CE7C46 #CEC046 #98CE46
triadic
#CEC046 #46CEC0 #C046CE
tetradic
#CEC046 #46CE7C #4654CE #CE4698
square
#CEC046 #46CE7C #4654CE #CE4698
split-complementary
#CEC046 #4698CE #7C46CE
monochromatic
#797020 #AA9D2D #CEC046 #DBD076 #E8E1A7

Accessibility & contrast

On white

1.87
#CEC046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CEC046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC046
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC046#FFFFFF#000000##000000
##CEC0461.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA36
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#DDB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec046;
/* rgb */ color: rgb(206, 192, 70);
/* oklch */ color: oklch(79.7% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#e0d280',
    500: '#cec046',
    950: '#000000',
  },
}
SCSS
$custom: #cec046;
$custom-light: #e0d280;
$custom-dark: #000000;
JSON
{
  "hex": "#cec046",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 53.824,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79716,
    "c": 0.1406,
    "h": 102.7
  },
  "luminance": 0.51263
}

Semantic roles & 50–950 ramp

primary
#CEC046
secondary
#373E82
accent
#56E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC046

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

Preview Lab → · Contrast checker → · Palette generator →

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