#CECB4B#CECB4B

#CECB4B is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.147 H 108.0°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CECB4B
RGBrgb(206, 203, 75)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 81%)
CMYKcmyk(0%, 1.5%, 63.6%, 19.2%)
CIE-LABlab(79.81, -14.57, 61.90)
CIE-LCHlch(79.81, 63.59, 103.25°)
OKLaboklab(82.09% -0.0454 0.1402)
OKLCHoklch(82.09% 0.147 108)
XYZxyz(48.0811, 56.3432, 14.9978)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB4B #4B4ECE
analogous
#CE8A4B #CECB4B #8FCE4B
triadic
#CECB4B #4BCECB #CB4BCE
tetradic
#CECB4B #4BCE8A #4B4ECE #CE4B8F
square
#CECB4B #4BCE8A #4B4ECE #CE4B8F
split-complementary
#CECB4B #4B8FCE #8A4BCE
monochromatic
#7D7B22 #ADAA2F #CECB4B #DBD97B #E8E7AB

Accessibility & contrast

On white

1.71
#CECB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CECB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB4B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB4B#FFFFFF#000000##000000
##CECB4B1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33A
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#DCBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb4b;
/* rgb */ color: rgb(206, 203, 75);
/* oklch */ color: oklch(82.1% 0.147 108.0);
Tailwind
colors: {
  custom: {
    50: '#e0da83',
    500: '#cecb4b',
    950: '#000000',
  },
}
SCSS
$custom: #cecb4b;
$custom-light: #e0da83;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb4b",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 58.626,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82092,
    "c": 0.14732,
    "h": 108
  },
  "luminance": 0.56342
}

Semantic roles & 50–950 ramp

primary
#CECB4B
secondary
#393A84
accent
#4BE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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