#CEB240#CEB240

#CEB240 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.134 H 95.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CEB240
RGBrgb(206, 178, 64)
HSLhsl(48, 59%, 53%)
HSVhsv(48, 69%, 81%)
CMYKcmyk(0%, 13.6%, 68.9%, 19.2%)
CIE-LABlab(73.11, -2.36, 59.45)
CIE-LCHlch(73.11, 59.50, 92.27°)
OKLaboklab(76.75% -0.0119 0.1332)
OKLCHoklch(76.75% 0.134 95.1)
XYZxyz(42.3015, 45.3350, 11.3719)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB240 #405CCE
analogous
#CE6B40 #CEB240 #A3CE40
triadic
#CEB240 #40CEB2 #B240CE
tetradic
#CEB240 #40CE6B #405CCE #CE40A3
square
#CEB240 #40CE6B #405CCE #CE40A3
split-complementary
#CEB240 #40A3CE #6B40CE
monochromatic
#75641E #A68E2B #CEB240 #DAC671 #E7D9A1

Accessibility & contrast

On white

2.09
#CEB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CEB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB240
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB240#FFFFFF#000000##000000
##CEB2401.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#DEA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb240;
/* rgb */ color: rgb(206, 178, 64);
/* oklch */ color: oklch(76.7% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#e1c87b',
    500: '#ceb240',
    950: '#000000',
  },
}
SCSS
$custom: #ceb240;
$custom-light: #e1c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb240",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 48.169,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76746,
    "c": 0.13375,
    "h": 95.1
  },
  "luminance": 0.45333
}

Semantic roles & 50–950 ramp

primary
#CEB240
secondary
#96A2D4
accent
#64E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB240

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

Preview Lab → · Contrast checker → · Palette generator →

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