#CEB248#CEB248

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

Color values

HEX#CEB248
RGBrgb(206, 178, 72)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 65%, 81%)
CMYKcmyk(0%, 13.6%, 65%, 19.2%)
CIE-LABlab(73.18, -1.90, 56.14)
CIE-LCHlch(73.18, 56.17, 91.94°)
OKLaboklab(76.82% -0.0096 0.1275)
OKLCHoklch(76.82% 0.128 94.3)
XYZxyz(42.5457, 45.4327, 12.6580)
Luminance0.4543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB248 #4864CE
analogous
#CE6F48 #CEB248 #A7CE48
triadic
#CEB248 #48CEB2 #B248CE
tetradic
#CEB248 #48CE6F #4864CE #CE48A7
square
#CEB248 #48CE6F #4864CE #CE48A7
split-complementary
#CEB248 #48A7CE #6F48CE
monochromatic
#7B6821 #AB912E #CEB248 #DBC678 #E8DBA9

Accessibility & contrast

On white

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

On black

10.09
#CEB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB248
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB248#FFFFFF#000000##000000
##CEB2481.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#DEA59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb248;
/* rgb */ color: rgb(206, 178, 72);
/* oklch */ color: oklch(76.8% 0.128 94.3);
Tailwind
colors: {
  custom: {
    50: '#e0c880',
    500: '#ceb248',
    950: '#000000',
  },
}
SCSS
$custom: #ceb248;
$custom-light: #e0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb248",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 47.463,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76817,
    "c": 0.12787,
    "h": 94.3
  },
  "luminance": 0.4543
}

Semantic roles & 50–950 ramp

primary
#CEB248
secondary
#9DA8D5
accent
#67E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB248

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

Preview Lab → · Contrast checker → · Palette generator →

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