#CECA78#CECA78

#CECA78 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.104 H 106.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CECA78
RGBrgb(206, 202, 120)
HSLhsl(57, 47%, 64%)
HSVhsv(57, 42%, 81%)
CMYKcmyk(0%, 1.9%, 41.7%, 19.2%)
CIE-LABlab(80.02, -10.35, 41.35)
CIE-LCHlch(80.02, 42.62, 104.06°)
OKLaboklab(82.42% -0.0288 0.1001)
OKLCHoklch(82.42% 0.104 106)
XYZxyz(49.9652, 56.7201, 26.0817)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA78 #787CCE
analogous
#CE9F78 #CECA78 #A7CE78
triadic
#CECA78 #78CECA #CA78CE
tetradic
#CECA78 #78CE9F #787CCE #CE78A7
square
#CECA78 #78CE9F #787CCE #CE78A7
split-complementary
#CECA78 #78A7CE #9F78CE
monochromatic
#959136 #BEB84B #CECA78 #DEDCA5 #EFEDD2

Accessibility & contrast

On white

1.70
#CECA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CECA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA78
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA78#FFFFFF#000000##000000
##CECA781.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C472
Deuteranopia (green-blind)
#D9C87C
Tritanopia (blue-blind)
#D9C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ceca78;
/* rgb */ color: rgb(206, 202, 120);
/* oklch */ color: oklch(82.4% 0.104 106.0);
Tailwind
colors: {
  custom: {
    50: '#dedaa0',
    500: '#ceca78',
    950: '#000000',
  },
}
SCSS
$custom: #ceca78;
$custom-light: #dedaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca78",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 57.209,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82416,
    "c": 0.10418,
    "h": 106
  },
  "luminance": 0.56719
}

Semantic roles & 50–950 ramp

primary
#CECA78
secondary
#4F529B
accent
#32BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CECA78

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

Preview Lab → · Contrast checker → · Palette generator →

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