#CEBA56#CEBA56

#CEBA56 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.122 H 98.1°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CEBA56
RGBrgb(206, 186, 86)
HSLhsl(50, 55%, 57%)
HSVhsv(50, 58%, 81%)
CMYKcmyk(0%, 9.7%, 58.3%, 19.2%)
CIE-LABlab(75.40, -5.14, 52.29)
CIE-LCHlch(75.40, 52.54, 95.62°)
OKLaboklab(78.62% -0.0173 0.1212)
OKLCHoklch(78.62% 0.122 98.1)
XYZxyz(44.6939, 48.9134, 15.8893)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA56 #566ACE
analogous
#CE7E56 #CEBA56 #A6CE56
triadic
#CEBA56 #56CEBA #BA56CE
tetradic
#CEBA56 #56CE7E #566ACE #CE56A6
square
#CEBA56 #56CE7E #566ACE #CE56A6
split-complementary
#CEBA56 #56A6CE #7E56CE
monochromatic
#837426 #B39E34 #CEBA56 #DCCD85 #EAE1B5

Accessibility & contrast

On white

1.95
#CEBA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CEBA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA56
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA56#FFFFFF#000000##000000
##CEBA561.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64C
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#DDAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ceba56;
/* rgb */ color: rgb(206, 186, 86);
/* oklch */ color: oklch(78.6% 0.122 98.1);
Tailwind
colors: {
  custom: {
    50: '#e0ce89',
    500: '#ceba56',
    950: '#000000',
  },
}
SCSS
$custom: #ceba56;
$custom-light: #e0ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba56",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 50,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78617,
    "c": 0.12244,
    "h": 98.1
  },
  "luminance": 0.48912
}

Semantic roles & 50–950 ramp

primary
#CEBA56
secondary
#A8B0D8
accent
#62DE49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEBA56

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

Preview Lab → · Contrast checker → · Palette generator →

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