#CEB92F#CEB92F

#CEB92F is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.149 H 100.1°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CEB92F
RGBrgb(206, 185, 47)
HSLhsl(52, 63%, 50%)
HSVhsv(52, 77%, 81%)
CMYKcmyk(0%, 10.2%, 77.2%, 19.2%)
CIE-LABlab(74.84, -6.78, 67.37)
CIE-LCHlch(74.84, 67.71, 95.75°)
OKLaboklab(78.08% -0.0262 0.1469)
OKLCHoklch(78.08% 0.149 100.1)
XYZxyz(43.3178, 48.0271, 9.6772)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB92F #2F44CE
analogous
#CE692F #CEB92F #94CE2F
triadic
#CEB92F #2FCEB9 #B92FCE
tetradic
#CEB92F #2FCE69 #2F44CE #CE2F94
square
#CEB92F #2FCE69 #2F44CE #CE2F94
split-complementary
#CEB92F #2F94CE #692FCE
monochromatic
#6A5F18 #9C8C24 #CEB92F #DBCA60 #E6DB91

Accessibility & contrast

On white

1.98
#CEB92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CEB92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB92F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB92F#FFFFFF#000000##000000
##CEB92F1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40D
Deuteranopia (green-blind)
#D1BC39
Tritanopia (blue-blind)
#DEAB9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ceb92f;
/* rgb */ color: rgb(206, 185, 47);
/* oklch */ color: oklch(78.1% 0.149 100.1);
Tailwind
colors: {
  custom: {
    50: '#e1cd73',
    500: '#ceb92f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb92f;
$custom-light: #e1cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb92f",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 52.075,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78083,
    "c": 0.14917,
    "h": 100.1
  },
  "luminance": 0.48025
}

Semantic roles & 50–950 ramp

primary
#CEB92F
secondary
#8892D1
accent
#58E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CEB92F

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

Preview Lab → · Contrast checker → · Palette generator →

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