#CEB348#CEB348

#CEB348 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.129 H 95.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CEB348
RGBrgb(206, 179, 72)
HSLhsl(48, 58%, 55%)
HSVhsv(48, 65%, 81%)
CMYKcmyk(0%, 13.1%, 65%, 19.2%)
CIE-LABlab(73.44, -2.42, 56.42)
CIE-LCHlch(73.44, 56.47, 92.46°)
OKLaboklab(77.02% -0.0112 0.1281)
OKLCHoklch(77.02% 0.129 95)
XYZxyz(42.7454, 45.8321, 12.7246)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB348 #4863CE
analogous
#CE7048 #CEB348 #A6CE48
triadic
#CEB348 #48CEB3 #B348CE
tetradic
#CEB348 #48CE70 #4863CE #CE48A6
square
#CEB348 #48CE70 #4863CE #CE48A6
split-complementary
#CEB348 #48A6CE #7048CE
monochromatic
#7B6921 #AB922E #CEB348 #DBC778 #E8DBA9

Accessibility & contrast

On white

2.07
#CEB348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CEB348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB348
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB348#FFFFFF#000000##000000
##CEB3481.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#DEA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb348;
/* rgb */ color: rgb(206, 179, 72);
/* oklch */ color: oklch(77.0% 0.129 95.0);
Tailwind
colors: {
  custom: {
    50: '#e0c980',
    500: '#ceb348',
    950: '#000000',
  },
}
SCSS
$custom: #ceb348;
$custom-light: #e0c980;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb348",
  "rgb": {
    "r": 206,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 47.91,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77023,
    "c": 0.12859,
    "h": 95
  },
  "luminance": 0.4583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEB348

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

Preview Lab → · Contrast checker → · Palette generator →

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