#CEB148#CEB148

#CEB148 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.127 H 93.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CEB148
RGBrgb(206, 177, 72)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 65%, 81%)
CMYKcmyk(0%, 14.1%, 65%, 19.2%)
CIE-LABlab(72.92, -1.37, 55.86)
CIE-LCHlch(72.92, 55.88, 91.41°)
OKLaboklab(76.61% -0.0081 0.1269)
OKLCHoklch(76.61% 0.127 93.7)
XYZxyz(42.3475, 45.0362, 12.5919)
Luminance0.4503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB148 #4865CE
analogous
#CE6E48 #CEB148 #A8CE48
triadic
#CEB148 #48CEB1 #B148CE
tetradic
#CEB148 #48CE6E #4865CE #CE48A8
square
#CEB148 #48CE6E #4865CE #CE48A8
split-complementary
#CEB148 #48A8CE #6E48CE
monochromatic
#7B6721 #AB902E #CEB148 #DBC678 #E8DAA9

Accessibility & contrast

On white

2.10
#CEB148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#CEB148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB148
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB148#FFFFFF#000000##000000
##CEB1481.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3C
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#DEA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb148;
/* rgb */ color: rgb(206, 177, 72);
/* oklch */ color: oklch(76.6% 0.127 93.7);
Tailwind
colors: {
  custom: {
    50: '#e0c880',
    500: '#ceb148',
    950: '#000000',
  },
}
SCSS
$custom: #ceb148;
$custom-light: #e0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb148",
  "rgb": {
    "r": 206,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 47.015,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.12718,
    "h": 93.7
  },
  "luminance": 0.45034
}

Semantic roles & 50–950 ramp

primary
#CEB148
secondary
#9DA9D5
accent
#68E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB148

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

Preview Lab → · Contrast checker → · Palette generator →

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