#CEB540#CEB540

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

Color values

HEX#CEB540
RGBrgb(206, 181, 64)
HSLhsl(49, 59%, 53%)
HSVhsv(49, 69%, 81%)
CMYKcmyk(0%, 12.1%, 68.9%, 19.2%)
CIE-LABlab(73.90, -3.93, 60.25)
CIE-LCHlch(73.90, 60.38, 93.73°)
OKLaboklab(77.37% -0.0164 0.1349)
OKLCHoklch(77.37% 0.136 96.9)
XYZxyz(42.9049, 46.5419, 11.5730)
Luminance0.4654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB540 #4059CE
analogous
#CE6E40 #CEB540 #A0CE40
triadic
#CEB540 #40CEB5 #B540CE
tetradic
#CEB540 #40CE6E #4059CE #CE40A0
square
#CEB540 #40CE6E #4059CE #CE40A0
split-complementary
#CEB540 #40A0CE #6E40CE
monochromatic
#75661E #A6902B #CEB540 #DAC871 #E7DBA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB540#FFFFFF#000000##000000
##CEB5401.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)
#C7B130
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#DEA89D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb540;
/* rgb */ color: rgb(206, 181, 64);
/* oklch */ color: oklch(77.4% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#e1ca7b',
    500: '#ceb540',
    950: '#000000',
  },
}
SCSS
$custom: #ceb540;
$custom-light: #e1ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb540",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 49.437,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77366,
    "c": 0.1359,
    "h": 96.9
  },
  "luminance": 0.4654
}

Semantic roles & 50–950 ramp

primary
#CEB540
secondary
#96A1D4
accent
#61E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB540

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

Preview Lab → · Contrast checker → · Palette generator →

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