#CEB257#CEB257

#CEB257 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.115 H 92.4°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CEB257
RGBrgb(206, 178, 87)
HSLhsl(46, 55%, 57%)
HSVhsv(46, 58%, 81%)
CMYKcmyk(0%, 13.6%, 57.8%, 19.2%)
CIE-LABlab(73.32, -0.88, 49.44)
CIE-LCHlch(73.32, 49.45, 91.02°)
OKLaboklab(76.98% -0.0049 0.1152)
OKLCHoklch(76.98% 0.115 92.4)
XYZxyz(43.0961, 45.6529, 15.5569)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB257 #5773CE
analogous
#CE7657 #CEB257 #AFCE57
triadic
#CEB257 #57CEB2 #B257CE
tetradic
#CEB257 #57CE76 #5773CE #CE57AF
square
#CEB257 #57CE76 #5773CE #CE57AF
split-complementary
#CEB257 #57AFCE #7657CE
monochromatic
#846E27 #B39634 #CEB257 #DCC886 #EADDB6

Accessibility & contrast

On white

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

On black

10.13
#CEB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB257
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB257#FFFFFF#000000##000000
##CEB2571.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4E
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#DDA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb257;
/* rgb */ color: rgb(206, 178, 87);
/* oklch */ color: oklch(77.0% 0.115 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0c889',
    500: '#ceb257',
    950: '#000000',
  },
}
SCSS
$custom: #ceb257;
$custom-light: #e0c889;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb257",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 45.882,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76977,
    "c": 0.11531,
    "h": 92.4
  },
  "luminance": 0.45651
}

Semantic roles & 50–950 ramp

primary
#CEB257
secondary
#A8B4D8
accent
#6DDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB257

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

Preview Lab → · Contrast checker → · Palette generator →

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