#CECA71#CECA71

#CECA71 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.112 H 106.3°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CECA71
RGBrgb(206, 202, 113)
HSLhsl(57, 49%, 63%)
HSVhsv(57, 45%, 81%)
CMYKcmyk(0%, 1.9%, 45.1%, 19.2%)
CIE-LABlab(79.93, -11.06, 44.71)
CIE-LCHlch(79.93, 46.06, 103.90°)
OKLaboklab(82.31% -0.0314 0.1072)
OKLCHoklch(82.31% 0.112 106.3)
XYZxyz(49.5558, 56.5564, 23.9256)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA71 #7175CE
analogous
#CE9B71 #CECA71 #A4CE71
triadic
#CECA71 #71CECA #CA71CE
tetradic
#CECA71 #71CE9B #7175CE #CE71A4
square
#CECA71 #71CE9B #7175CE #CE71A4
split-complementary
#CECA71 #71A4CE #9B71CE
monochromatic
#928E32 #BEB944 #CECA71 #DEDB9E #EDECCC

Accessibility & contrast

On white

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

On black

12.31
#CECA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA71
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA71#FFFFFF#000000##000000
##CECA711.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46A
Deuteranopia (green-blind)
#D9C875
Tritanopia (blue-blind)
#DAC0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ceca71;
/* rgb */ color: rgb(206, 202, 113);
/* oklch */ color: oklch(82.3% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#deda9b',
    500: '#ceca71',
    950: '#000000',
  },
}
SCSS
$custom: #ceca71;
$custom-light: #deda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca71",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 57.419,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82313,
    "c": 0.11172,
    "h": 106.3
  },
  "luminance": 0.56555
}

Semantic roles & 50–950 ramp

primary
#CECA71
secondary
#4B4E98
accent
#30BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CECA71

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

Preview Lab → · Contrast checker → · Palette generator →

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