#CEB255#CEB255

#CEB255 is a light, moderate yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.117 H 92.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CEB255
RGBrgb(206, 178, 85)
HSLhsl(46, 55%, 57%)
HSVhsv(46, 59%, 81%)
CMYKcmyk(0%, 13.6%, 58.7%, 19.2%)
CIE-LABlab(73.30, -1.03, 50.37)
CIE-LCHlch(73.30, 50.38, 91.17°)
OKLaboklab(76.95% -0.0056 0.117)
OKLCHoklch(76.95% 0.117 92.7)
XYZxyz(43.0155, 45.6206, 15.1325)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB255 #5571CE
analogous
#CE7655 #CEB255 #ADCE55
triadic
#CEB255 #55CEB2 #B255CE
tetradic
#CEB255 #55CE76 #5571CE #CE55AD
square
#CEB255 #55CE76 #5571CE #CE55AD
split-complementary
#CEB255 #55ADCE #7655CE
monochromatic
#836D26 #B29533 #CEB255 #DCC885 #E9DDB4

Accessibility & contrast

On white

2.07
#CEB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CEB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB255
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB255#FFFFFF#000000##000000
##CEB2551.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4C
Deuteranopia (green-blind)
#CAB859
Tritanopia (blue-blind)
#DDA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb255;
/* rgb */ color: rgb(206, 178, 85);
/* oklch */ color: oklch(77.0% 0.117 92.7);
Tailwind
colors: {
  custom: {
    50: '#e0c888',
    500: '#ceb255',
    950: '#000000',
  },
}
SCSS
$custom: #ceb255;
$custom-light: #e0c888;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb255",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 46.116,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76954,
    "c": 0.11709,
    "h": 92.7
  },
  "luminance": 0.45618
}

Semantic roles & 50–950 ramp

primary
#CEB255
secondary
#A7B2D8
accent
#6CDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB255

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

Preview Lab → · Contrast checker → · Palette generator →

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