#CEC341#CEC341

#CEC341 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.147 H 104.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CEC341
RGBrgb(206, 195, 65)
HSLhsl(55, 59%, 53%)
HSVhsv(55, 68%, 81%)
CMYKcmyk(0%, 5.3%, 68.4%, 19.2%)
CIE-LABlab(77.60, -11.10, 63.61)
CIE-LCHlch(77.60, 64.57, 99.90°)
OKLaboklab(80.31% -0.0366 0.1422)
OKLCHoklch(80.31% 0.147 104.5)
XYZxyz(45.9247, 52.5354, 12.7213)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC341 #414CCE
analogous
#CE7C41 #CEC341 #92CE41
triadic
#CEC341 #41CEC3 #C341CE
tetradic
#CEC341 #41CE7C #414CCE #CE4192
square
#CEC341 #41CE7C #414CCE #CE4192
split-complementary
#CEC341 #4192CE #7C41CE
monochromatic
#766F1E #A79D2B #CEC341 #DBD272 #E7E2A2

Accessibility & contrast

On white

1.83
#CEC341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CEC341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC341
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC341#FFFFFF#000000##000000
##CEC3411.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#D8C249
Tritanopia (blue-blind)
#DDB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec341;
/* rgb */ color: rgb(206, 195, 65);
/* oklch */ color: oklch(80.3% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#e0d47d',
    500: '#cec341',
    950: '#000000',
  },
}
SCSS
$custom: #cec341;
$custom-light: #e0d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec341",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 55.319,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80309,
    "c": 0.14681,
    "h": 104.5
  },
  "luminance": 0.52534
}

Semantic roles & 50–950 ramp

primary
#CEC341
secondary
#353A7F
accent
#52E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC341

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

Preview Lab → · Contrast checker → · Palette generator →

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