#CEC95F#CEC95F

#CEC95F is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.129 H 106.4°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CEC95F
RGBrgb(206, 201, 95)
HSLhsl(57, 53%, 59%)
HSVhsv(57, 54%, 81%)
CMYKcmyk(0%, 2.4%, 53.9%, 19.2%)
CIE-LABlab(79.46, -12.15, 52.76)
CIE-LCHlch(79.46, 54.14, 102.97°)
OKLaboklab(81.87% -0.0364 0.1232)
OKLCHoklch(81.87% 0.129 106.4)
XYZxyz(48.4072, 55.7227, 19.0299)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC95F #5F64CE
analogous
#CE925F #CEC95F #9CCE5F
triadic
#CEC95F #5FCEC9 #C95FCE
tetradic
#CEC95F #5FCE92 #5F64CE #CE5F9C
square
#CEC95F #5FCE92 #5F64CE #CE5F9C
split-complementary
#CEC95F #5F9CCE #925FCE
monochromatic
#89842A #B8B238 #CEC95F #DCD98E #EBE9BD

Accessibility & contrast

On white

1.73
#CEC95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CEC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC95F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC95F#FFFFFF#000000##000000
##CEC95F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C255
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#DBBEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec95f;
/* rgb */ color: rgb(206, 201, 95);
/* oklch */ color: oklch(81.9% 0.129 106.4);
Tailwind
colors: {
  custom: {
    50: '#dfd990',
    500: '#cec95f',
    950: '#000000',
  },
}
SCSS
$custom: #cec95f;
$custom-light: #dfd990;
$custom-dark: #000000;
JSON
{
  "hex": "#cec95f",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 57.297,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81869,
    "c": 0.1285,
    "h": 106.4
  },
  "luminance": 0.55721
}

Semantic roles & 50–950 ramp

primary
#CEC95F
secondary
#42458F
accent
#52DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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