#CEC145#CEC145

#CEC145 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.142 H 103.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CEC145
RGBrgb(206, 193, 69)
HSLhsl(54, 58%, 54%)
HSVhsv(54, 67%, 81%)
CMYKcmyk(0%, 6.3%, 66.5%, 19.2%)
CIE-LABlab(77.10, -9.86, 61.52)
CIE-LCHlch(77.10, 62.30, 99.11°)
OKLaboklab(79.92% -0.0327 0.1384)
OKLCHoklch(79.92% 0.142 103.3)
XYZxyz(45.5996, 51.6932, 13.2049)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC145 #4552CE
analogous
#CE7D45 #CEC145 #97CE45
triadic
#CEC145 #45CEC1 #C145CE
tetradic
#CEC145 #45CE7D #4552CE #CE4597
square
#CEC145 #45CE7D #4552CE #CE4597
split-complementary
#CEC145 #4597CE #7D45CE
monochromatic
#797020 #A99D2D #CEC145 #DBD175 #E8E1A6

Accessibility & contrast

On white

1.85
#CEC145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CEC145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC145
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC145#FFFFFF#000000##000000
##CEC1451.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#DDB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec145;
/* rgb */ color: rgb(206, 193, 69);
/* oklch */ color: oklch(79.9% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#e0d37f',
    500: '#cec145',
    950: '#000000',
  },
}
SCSS
$custom: #cec145;
$custom-light: #e0d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec145",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 54.307,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79918,
    "c": 0.14222,
    "h": 103.3
  },
  "luminance": 0.51691
}

Semantic roles & 50–950 ramp

primary
#CEC145
secondary
#363D81
accent
#55E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC145

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

Preview Lab → · Contrast checker → · Palette generator →

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