#CEB845#CEB845

#CEB845 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.135 H 98.3°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CEB845
RGBrgb(206, 184, 69)
HSLhsl(50, 58%, 54%)
HSVhsv(50, 67%, 81%)
CMYKcmyk(0%, 10.7%, 66.5%, 19.2%)
CIE-LABlab(74.72, -5.22, 59.05)
CIE-LCHlch(74.72, 59.28, 95.05°)
OKLaboklab(78.03% -0.0195 0.1332)
OKLCHoklch(78.03% 0.135 98.3)
XYZxyz(43.6702, 47.8345, 12.5618)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB845 #455BCE
analogous
#CE7445 #CEB845 #A0CE45
triadic
#CEB845 #45CEB8 #B845CE
tetradic
#CEB845 #45CE74 #455BCE #CE45A0
square
#CEB845 #45CE74 #455BCE #CE45A0
split-complementary
#CEB845 #45A0CE #7445CE
monochromatic
#796A20 #A9952D #CEB845 #DBCA75 #E8DDA6

Accessibility & contrast

On white

1.99
#CEB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CEB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB845
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB845#FFFFFF#000000##000000
##CEB8451.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#DEABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ceb845;
/* rgb */ color: rgb(206, 184, 69);
/* oklch */ color: oklch(78.0% 0.135 98.3);
Tailwind
colors: {
  custom: {
    50: '#e0cd7e',
    500: '#ceb845',
    950: '#000000',
  },
}
SCSS
$custom: #ceb845;
$custom-light: #e0cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb845",
  "rgb": {
    "r": 206,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 50.365,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78032,
    "c": 0.13462,
    "h": 98.3
  },
  "luminance": 0.47832
}

Semantic roles & 50–950 ramp

primary
#CEB845
secondary
#9AA4D5
accent
#5FE246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB845

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

Preview Lab → · Contrast checker → · Palette generator →

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