#CEB245#CEB245

#CEB245 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.130 H 94.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CEB245
RGBrgb(206, 178, 69)
HSLhsl(48, 58%, 54%)
HSVhsv(48, 67%, 81%)
CMYKcmyk(0%, 13.6%, 66.5%, 19.2%)
CIE-LABlab(73.15, -2.08, 57.41)
CIE-LCHlch(73.15, 57.45, 92.07°)
OKLaboklab(76.79% -0.0105 0.1297)
OKLCHoklch(76.79% 0.13 94.6)
XYZxyz(42.4502, 45.3945, 12.1551)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB245 #4561CE
analogous
#CE6E45 #CEB245 #A6CE45
triadic
#CEB245 #45CEB2 #B245CE
tetradic
#CEB245 #45CE6E #4561CE #CE45A6
square
#CEB245 #45CE6E #4561CE #CE45A6
split-complementary
#CEB245 #45A6CE #6E45CE
monochromatic
#796720 #A9902D #CEB245 #DBC675 #E8DAA6

Accessibility & contrast

On white

2.08
#CEB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CEB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB245
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB245#FFFFFF#000000##000000
##CEB2451.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#DEA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb245;
/* rgb */ color: rgb(206, 178, 69);
/* oklch */ color: oklch(76.8% 0.130 94.6);
Tailwind
colors: {
  custom: {
    50: '#e0c87e',
    500: '#ceb245',
    950: '#000000',
  },
}
SCSS
$custom: #ceb245;
$custom-light: #e0c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb245",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 47.737,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76789,
    "c": 0.13015,
    "h": 94.6
  },
  "luminance": 0.45392
}

Semantic roles & 50–950 ramp

primary
#CEB245
secondary
#9AA6D5
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB245

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

Preview Lab → · Contrast checker → · Palette generator →

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