#CEB23D#CEB23D

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

Color values

HEX#CEB23D
RGBrgb(206, 178, 61)
HSLhsl(48, 60%, 52%)
HSVhsv(48, 70%, 81%)
CMYKcmyk(0%, 13.6%, 70.4%, 19.2%)
CIE-LABlab(73.09, -2.51, 60.64)
CIE-LCHlch(73.09, 60.69, 92.37°)
OKLaboklab(76.72% -0.0127 0.1352)
OKLCHoklch(76.72% 0.136 95.4)
XYZxyz(42.2184, 45.3018, 10.9343)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB23D #3D59CE
analogous
#CE6A3D #CEB23D #A1CE3D
triadic
#CEB23D #3DCEB2 #B23DCE
tetradic
#CEB23D #3DCE6A #3D59CE #CE3DA1
square
#CEB23D #3DCE6A #3D59CE #CE3DA1
split-complementary
#CEB23D #3DA1CE #6A3DCE
monochromatic
#73631D #A48D29 #CEB23D #DAC56E #E7D99F

Accessibility & contrast

On white

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

On black

10.06
#CEB23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB23D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB23D#FFFFFF#000000##000000
##CEB23D1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2C
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#DEA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb23d;
/* rgb */ color: rgb(206, 178, 61);
/* oklch */ color: oklch(76.7% 0.136 95.4);
Tailwind
colors: {
  custom: {
    50: '#e1c879',
    500: '#ceb23d',
    950: '#000000',
  },
}
SCSS
$custom: #ceb23d;
$custom-light: #e1c879;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb23d",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 48.414,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76722,
    "c": 0.13579,
    "h": 95.4
  },
  "luminance": 0.453
}

Semantic roles & 50–950 ramp

primary
#CEB23D
secondary
#94A0D3
accent
#63E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB23D

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

Preview Lab → · Contrast checker → · Palette generator →

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