#CECB3F#CECB3F

#CECB3F is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.156 H 108.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CECB3F
RGBrgb(206, 203, 63)
HSLhsl(59, 59%, 53%)
HSVhsv(59, 69%, 81%)
CMYKcmyk(0%, 1.5%, 69.4%, 19.2%)
CIE-LABlab(79.72, -15.24, 66.47)
CIE-LCHlch(79.72, 68.20, 102.91°)
OKLaboklab(82% -0.0485 0.1479)
OKLCHoklch(82% 0.156 108.2)
XYZxyz(47.7085, 56.1941, 13.0351)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB3F #3F42CE
analogous
#CE833F #CECB3F #8ACE3F
triadic
#CECB3F #3FCECB #CB3FCE
tetradic
#CECB3F #3FCE83 #3F42CE #CE3F8A
square
#CECB3F #3FCE83 #3F42CE #CE3F8A
split-complementary
#CECB3F #3F8ACE #833FCE
monochromatic
#75731E #A6A32A #CECB3F #DAD870 #E7E5A1

Accessibility & contrast

On white

1.72
#CECB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CECB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB3F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB3F#FFFFFF#000000##000000
##CECB3F1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DEC849
Tritanopia (blue-blind)
#DDBEAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb3f;
/* rgb */ color: rgb(206, 203, 63);
/* oklch */ color: oklch(82.0% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0da7d',
    500: '#cecb3f',
    950: '#000000',
  },
}
SCSS
$custom: #cecb3f;
$custom-light: #e0da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb3f",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 58.741,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81997,
    "c": 0.15562,
    "h": 108.2
  },
  "luminance": 0.56193
}

Semantic roles & 50–950 ramp

primary
#CECB3F
secondary
#34357D
accent
#49E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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