#CEC741#CEC741

#CEC741 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.150 H 106.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CEC741
RGBrgb(206, 199, 65)
HSLhsl(57, 59%, 53%)
HSVhsv(57, 68%, 81%)
CMYKcmyk(0%, 3.4%, 68.4%, 19.2%)
CIE-LABlab(78.67, -13.13, 64.68)
CIE-LCHlch(78.67, 65.99, 101.47°)
OKLaboklab(81.16% -0.0424 0.1444)
OKLCHoklch(81.16% 0.151 106.4)
XYZxyz(46.8329, 54.3520, 13.0240)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC741 #4148CE
analogous
#CE8041 #CEC741 #8FCE41
triadic
#CEC741 #41CEC7 #C741CE
tetradic
#CEC741 #41CE80 #4148CE #CE418F
square
#CEC741 #41CE80 #4148CE #CE418F
split-complementary
#CEC741 #418FCE #8041CE
monochromatic
#76721E #A7A12B #CEC741 #DBD572 #E7E4A2

Accessibility & contrast

On white

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

On black

11.87
#CEC741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC741
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC741#FFFFFF#000000##000000
##CEC7411.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#DDBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec741;
/* rgb */ color: rgb(206, 199, 65);
/* oklch */ color: oklch(81.2% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d77d',
    500: '#cec741',
    950: '#000000',
  },
}
SCSS
$custom: #cec741;
$custom-light: #e0d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec741",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 57.021,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81158,
    "c": 0.1505,
    "h": 106.4
  },
  "luminance": 0.5435
}

Semantic roles & 50–950 ramp

primary
#CEC741
secondary
#35387F
accent
#4DE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC741

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

Preview Lab → · Contrast checker → · Palette generator →

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