#CEC746#CEC746

#CEC746 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.147 H 106.2°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CEC746
RGBrgb(206, 199, 70)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 66%, 81%)
CMYKcmyk(0%, 3.4%, 66%, 19.2%)
CIE-LABlab(78.70, -12.85, 62.77)
CIE-LCHlch(78.70, 64.07, 101.57°)
OKLaboklab(81.2% -0.0411 0.1412)
OKLCHoklch(81.2% 0.147 106.2)
XYZxyz(46.9842, 54.4125, 13.8209)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC746 #464DCE
analogous
#CE8346 #CEC746 #91CE46
triadic
#CEC746 #46CEC7 #C746CE
tetradic
#CEC746 #46CE83 #464DCE #CE4691
square
#CEC746 #46CE83 #464DCE #CE4691
split-complementary
#CEC746 #4691CE #8346CE
monochromatic
#797520 #AAA32D #CEC746 #DBD676 #E8E4A7

Accessibility & contrast

On white

1.77
#CEC746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CEC746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC746
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC746#FFFFFF#000000##000000
##CEC7461.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C034
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec746;
/* rgb */ color: rgb(206, 199, 70);
/* oklch */ color: oklch(81.2% 0.147 106.2);
Tailwind
colors: {
  custom: {
    50: '#e0d780',
    500: '#cec746',
    950: '#000000',
  },
}
SCSS
$custom: #cec746;
$custom-light: #e0d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cec746",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 56.912,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81197,
    "c": 0.14705,
    "h": 106.2
  },
  "luminance": 0.54411
}

Semantic roles & 50–950 ramp

primary
#CEC746
secondary
#373A82
accent
#4EE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC746

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

Preview Lab → · Contrast checker → · Palette generator →

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