#CEB342#CEB342

#CEB342 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.133 H 95.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CEB342
RGBrgb(206, 179, 66)
HSLhsl(48, 59%, 53%)
HSVhsv(48, 68%, 81%)
CMYKcmyk(0%, 13.1%, 68%, 19.2%)
CIE-LABlab(73.39, -2.77, 58.92)
CIE-LCHlch(73.39, 58.98, 92.69°)
OKLaboklab(76.97% -0.0129 0.1324)
OKLCHoklch(76.97% 0.133 95.5)
XYZxyz(42.5591, 45.7576, 11.7436)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB342 #425DCE
analogous
#CE6D42 #CEB342 #A3CE42
triadic
#CEB342 #42CEB3 #B342CE
tetradic
#CEB342 #42CE6D #425DCE #CE42A3
square
#CEB342 #42CE6D #425DCE #CE42A3
split-complementary
#CEB342 #42A3CE #6D42CE
monochromatic
#77661F #A78F2B #CEB342 #DBC773 #E7DAA3

Accessibility & contrast

On white

2.07
#CEB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CEB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB342
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB342#FFFFFF#000000##000000
##CEB3421.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF33
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#DEA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb342;
/* rgb */ color: rgb(206, 179, 66);
/* oklch */ color: oklch(77.0% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#e1c97c',
    500: '#ceb342',
    950: '#000000',
  },
}
SCSS
$custom: #ceb342;
$custom-light: #e1c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb342",
  "rgb": {
    "r": 206,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 48.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76969,
    "c": 0.13304,
    "h": 95.5
  },
  "luminance": 0.45755
}

Semantic roles & 50–950 ramp

primary
#CEB342
secondary
#98A3D4
accent
#64E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB342

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

Preview Lab → · Contrast checker → · Palette generator →

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