#CEB23F#CEB23F

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

Color values

HEX#CEB23F
RGBrgb(206, 178, 63)
HSLhsl(48, 59%, 53%)
HSVhsv(48, 69%, 81%)
CMYKcmyk(0%, 13.6%, 69.4%, 19.2%)
CIE-LABlab(73.10, -2.41, 59.85)
CIE-LCHlch(73.10, 59.90, 92.30°)
OKLaboklab(76.74% -0.0122 0.1339)
OKLCHoklch(76.74% 0.134 95.2)
XYZxyz(42.2733, 45.3237, 11.2234)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB23F #3F5BCE
analogous
#CE6B3F #CEB23F #A2CE3F
triadic
#CEB23F #3FCEB2 #B23FCE
tetradic
#CEB23F #3FCE6B #3F5BCE #CE3FA2
square
#CEB23F #3FCE6B #3F5BCE #CE3FA2
split-complementary
#CEB23F #3FA2CE #6B3FCE
monochromatic
#75641E #A68D2A #CEB23F #DAC670 #E7D9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB23F#FFFFFF#000000##000000
##CEB23F1.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)
#C4AE2F
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#DEA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb23f;
/* rgb */ color: rgb(206, 178, 63);
/* oklch */ color: oklch(76.7% 0.134 95.2);
Tailwind
colors: {
  custom: {
    50: '#e1c87a',
    500: '#ceb23f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb23f;
$custom-light: #e1c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb23f",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 48.252,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76738,
    "c": 0.13444,
    "h": 95.2
  },
  "luminance": 0.45321
}

Semantic roles & 50–950 ramp

primary
#CEB23F
secondary
#95A2D3
accent
#64E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB23F

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

Preview Lab → · Contrast checker → · Palette generator →

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