#CEB542#CEB542

#CEB542 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.135 H 96.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CEB542
RGBrgb(206, 181, 66)
HSLhsl(49, 59%, 53%)
HSVhsv(49, 68%, 81%)
CMYKcmyk(0%, 12.1%, 68%, 19.2%)
CIE-LABlab(73.91, -3.82, 59.45)
CIE-LCHlch(73.91, 59.58, 93.68°)
OKLaboklab(77.38% -0.0159 0.1336)
OKLCHoklch(77.38% 0.135 96.8)
XYZxyz(42.9629, 46.5651, 11.8782)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB542 #425BCE
analogous
#CE6F42 #CEB542 #A1CE42
triadic
#CEB542 #42CEB5 #B542CE
tetradic
#CEB542 #42CE6F #425BCE #CE42A1
square
#CEB542 #42CE6F #425BCE #CE42A1
split-complementary
#CEB542 #42A1CE #6F42CE
monochromatic
#77671F #A7912B #CEB542 #DBC873 #E7DBA3

Accessibility & contrast

On white

2.04
#CEB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#CEB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB542
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB542#FFFFFF#000000##000000
##CEB5421.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#DEA89D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb542;
/* rgb */ color: rgb(206, 181, 66);
/* oklch */ color: oklch(77.4% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#e1ca7c',
    500: '#ceb542',
    950: '#000000',
  },
}
SCSS
$custom: #ceb542;
$custom-light: #e1ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb542",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 49.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77383,
    "c": 0.1345,
    "h": 96.8
  },
  "luminance": 0.46563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEB542

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

Preview Lab → · Contrast checker → · Palette generator →

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