#CEC243#CEC243

#CEC243 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.145 H 103.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CEC243
RGBrgb(206, 194, 67)
HSLhsl(55, 59%, 54%)
HSVhsv(55, 67%, 81%)
CMYKcmyk(0%, 5.8%, 67.5%, 19.2%)
CIE-LABlab(77.35, -10.48, 62.57)
CIE-LCHlch(77.35, 63.44, 99.51°)
OKLaboklab(80.11% -0.0347 0.1403)
OKLCHoklch(80.11% 0.145 103.9)
XYZxyz(45.7603, 52.1124, 12.9574)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC243 #434FCE
analogous
#CE7C43 #CEC243 #94CE43
triadic
#CEC243 #43CEC2 #C243CE
tetradic
#CEC243 #43CE7C #434FCE #CE4394
square
#CEC243 #43CE7C #434FCE #CE4394
split-complementary
#CEC243 #4394CE #7C43CE
monochromatic
#77701F #A89D2C #CEC243 #DBD274 #E7E2A4

Accessibility & contrast

On white

1.84
#CEC243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CEC243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC243
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC243#FFFFFF#000000##000000
##CEC2431.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC31
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#DDB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec243;
/* rgb */ color: rgb(206, 194, 67);
/* oklch */ color: oklch(80.1% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#e0d47e',
    500: '#cec243',
    950: '#000000',
  },
}
SCSS
$custom: #cec243;
$custom-light: #e0d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec243",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 54.82,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80113,
    "c": 0.14453,
    "h": 103.9
  },
  "luminance": 0.52111
}

Semantic roles & 50–950 ramp

primary
#CEC243
secondary
#353C80
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC243

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

Preview Lab → · Contrast checker → · Palette generator →

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