#CEB256#CEB256

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

Color values

HEX#CEB256
RGBrgb(206, 178, 86)
HSLhsl(46, 55%, 57%)
HSVhsv(46, 58%, 81%)
CMYKcmyk(0%, 13.6%, 58.3%, 19.2%)
CIE-LABlab(73.31, -0.95, 49.91)
CIE-LCHlch(73.31, 49.91, 91.09°)
OKLaboklab(76.96% -0.0052 0.1161)
OKLCHoklch(76.96% 0.116 92.6)
XYZxyz(43.0555, 45.6366, 15.3432)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB256 #5672CE
analogous
#CE7656 #CEB256 #AECE56
triadic
#CEB256 #56CEB2 #B256CE
tetradic
#CEB256 #56CE76 #5672CE #CE56AE
square
#CEB256 #56CE76 #5672CE #CE56AE
split-complementary
#CEB256 #56AECE #7656CE
monochromatic
#836E26 #B39534 #CEB256 #DCC885 #EADDB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB256#FFFFFF#000000##000000
##CEB2561.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)
#C3AF4D
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#DDA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb256;
/* rgb */ color: rgb(206, 178, 86);
/* oklch */ color: oklch(77.0% 0.116 92.6);
Tailwind
colors: {
  custom: {
    50: '#e0c888',
    500: '#ceb256',
    950: '#000000',
  },
}
SCSS
$custom: #ceb256;
$custom-light: #e0c888;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb256",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 46,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76965,
    "c": 0.11621,
    "h": 92.6
  },
  "luminance": 0.45634
}

Semantic roles & 50–950 ramp

primary
#CEB256
secondary
#A8B3D8
accent
#6CDE49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB256

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

Preview Lab → · Contrast checker → · Palette generator →

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