#CECA74#CECA74

#CECA74 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.109 H 106.2°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CECA74
RGBrgb(206, 202, 116)
HSLhsl(57, 48%, 63%)
HSVhsv(57, 44%, 81%)
CMYKcmyk(0%, 1.9%, 43.7%, 19.2%)
CIE-LABlab(79.97, -10.76, 43.27)
CIE-LCHlch(79.97, 44.59, 103.97°)
OKLaboklab(82.36% -0.0303 0.1042)
OKLCHoklch(82.36% 0.109 106.2)
XYZxyz(49.7275, 56.6251, 24.8298)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA74 #7478CE
analogous
#CE9D74 #CECA74 #A5CE74
triadic
#CECA74 #74CECA #CA74CE
tetradic
#CECA74 #74CE9D #7478CE #CE74A5
square
#CECA74 #74CE9D #7478CE #CE74A5
split-complementary
#CECA74 #74A5CE #9D74CE
monochromatic
#948F34 #BEB947 #CECA74 #DEDBA1 #EEEDCE

Accessibility & contrast

On white

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

On black

12.32
#CECA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA74
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA74#FFFFFF#000000##000000
##CECA741.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceca74;
/* rgb */ color: rgb(206, 202, 116);
/* oklch */ color: oklch(82.4% 0.109 106.2);
Tailwind
colors: {
  custom: {
    50: '#deda9d',
    500: '#ceca74',
    950: '#000000',
  },
}
SCSS
$custom: #ceca74;
$custom-light: #deda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca74",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 57.333,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82356,
    "c": 0.10854,
    "h": 106.2
  },
  "luminance": 0.56624
}

Semantic roles & 50–950 ramp

primary
#CECA74
secondary
#4D509A
accent
#31BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CECA74

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

Preview Lab → · Contrast checker → · Palette generator →

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