#CEB25B#CEB25B

#CEB25B is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.112 H 91.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CEB25B
RGBrgb(206, 178, 91)
HSLhsl(45, 54%, 58%)
HSVhsv(45, 56%, 81%)
CMYKcmyk(0%, 13.6%, 55.8%, 19.2%)
CIE-LABlab(73.36, -0.57, 47.57)
CIE-LCHlch(73.36, 47.58, 90.68°)
OKLaboklab(77.03% -0.0035 0.1116)
OKLCHoklch(77.03% 0.112 91.8)
XYZxyz(43.2641, 45.7200, 16.4415)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB25B #5B77CE
analogous
#CE785B #CEB25B #B1CE5B
triadic
#CEB25B #5BCEB2 #B25BCE
tetradic
#CEB25B #5BCE78 #5B77CE #CE5BB1
square
#CEB25B #5BCE78 #5B77CE #CE5BB1
split-complementary
#CEB25B #5BB1CE #785BCE
monochromatic
#866F28 #B69736 #CEB25B #DCC88A #EADEB9

Accessibility & contrast

On white

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

On black

10.14
#CEB25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB25B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB25B#FFFFFF#000000##000000
##CEB25B1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF53
Deuteranopia (green-blind)
#C9B85F
Tritanopia (blue-blind)
#DDA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb25b;
/* rgb */ color: rgb(206, 178, 91);
/* oklch */ color: oklch(77.0% 0.112 91.8);
Tailwind
colors: {
  custom: {
    50: '#dfc88c',
    500: '#ceb25b',
    950: '#000000',
  },
}
SCSS
$custom: #ceb25b;
$custom-light: #dfc88c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb25b",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 91
  },
  "hsl": {
    "h": 45.391,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77026,
    "c": 0.11166,
    "h": 91.8
  },
  "luminance": 0.45718
}

Semantic roles & 50–950 ramp

primary
#CEB25B
secondary
#ABB7D9
accent
#6EDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB25B

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

Preview Lab → · Contrast checker → · Palette generator →

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