#CEAC38#CEAC38

#CEAC38 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.5% C 0.135 H 92.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#CEAC38
RGBrgb(206, 172, 56)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 73%, 81%)
CMYKcmyk(0%, 16.5%, 72.8%, 19.2%)
CIE-LABlab(71.50, 0.41, 61.02)
CIE-LCHlch(71.50, 61.02, 89.62°)
OKLaboklab(75.45% -0.0049 0.1351)
OKLCHoklch(75.45% 0.135 92.1)
XYZxyz(40.9222, 42.9148, 9.8686)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAC38 #385ACE
analogous
#CE6138 #CEAC38 #A5CE38
triadic
#CEAC38 #38CEAC #AC38CE
tetradic
#CEAC38 #38CE61 #385ACE #CE38A5
square
#CEAC38 #38CE61 #385ACE #CE38A5
split-complementary
#CEAC38 #38A5CE #6138CE
monochromatic
#705D1C #A18628 #CEAC38 #DAC069 #E6D59A

Accessibility & contrast

On white

2.19
#CEAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#CEAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAC38
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAC38#FFFFFF#000000##000000
##CEAC381.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA926
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#DF9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ceac38;
/* rgb */ color: rgb(206, 172, 56);
/* oklch */ color: oklch(75.5% 0.135 92.1);
Tailwind
colors: {
  custom: {
    50: '#e1c476',
    500: '#ceac38',
    950: '#000000',
  },
}
SCSS
$custom: #ceac38;
$custom-light: #e1c476;
$custom-dark: #000000;
JSON
{
  "hex": "#ceac38",
  "rgb": {
    "r": 206,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 46.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75452,
    "c": 0.13516,
    "h": 92.1
  },
  "luminance": 0.42912
}

Semantic roles & 50–950 ramp

primary
#CEAC38
secondary
#909FD2
accent
#68E444
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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