#CEB72F#CEB72F

#CEB72F is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.7% C 0.148 H 99.1°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CEB72F
RGBrgb(206, 183, 47)
HSLhsl(51, 63%, 50%)
HSVhsv(51, 77%, 81%)
CMYKcmyk(0%, 11.2%, 77.2%, 19.2%)
CIE-LABlab(74.32, -5.74, 66.89)
CIE-LCHlch(74.32, 67.14, 94.91°)
OKLaboklab(77.66% -0.0233 0.1458)
OKLCHoklch(77.66% 0.148 99.1)
XYZxyz(42.9023, 47.1962, 9.5388)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB72F #2F46CE
analogous
#CE682F #CEB72F #95CE2F
triadic
#CEB72F #2FCEB7 #B72FCE
tetradic
#CEB72F #2FCE68 #2F46CE #CE2F95
square
#CEB72F #2FCE68 #2F46CE #CE2F95
split-complementary
#CEB72F #2F95CE #682FCE
monochromatic
#6A5E18 #9C8B24 #CEB72F #DBC960 #E6DA91

Accessibility & contrast

On white

2.01
#CEB72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#CEB72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB72F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB72F#FFFFFF#000000##000000
##CEB72F1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20F
Deuteranopia (green-blind)
#D0BA39
Tritanopia (blue-blind)
#DEA99D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ceb72f;
/* rgb */ color: rgb(206, 183, 47);
/* oklch */ color: oklch(77.7% 0.148 99.1);
Tailwind
colors: {
  custom: {
    50: '#e1cc73',
    500: '#ceb72f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb72f;
$custom-light: #e1cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb72f",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 51.321,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77665,
    "c": 0.14767,
    "h": 99.1
  },
  "luminance": 0.47194
}

Semantic roles & 50–950 ramp

primary
#CEB72F
secondary
#8893D1
accent
#5AE642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CEB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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