#CEB84F#CEB84F

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

Color values

HEX#CEB84F
RGBrgb(206, 184, 79)
HSLhsl(50, 56%, 56%)
HSVhsv(50, 62%, 81%)
CMYKcmyk(0%, 10.7%, 61.7%, 19.2%)
CIE-LABlab(74.81, -4.59, 54.81)
CIE-LCHlch(74.81, 55.01, 94.79°)
OKLaboklab(78.13% -0.0165 0.1257)
OKLCHoklch(78.13% 0.127 97.5)
XYZxyz(44.0072, 47.9693, 14.3366)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB84F #4F65CE
analogous
#CE784F #CEB84F #A4CE4F
triadic
#CEB84F #4FCEB8 #B84FCE
tetradic
#CEB84F #4FCE78 #4F65CE #CE4FA4
square
#CEB84F #4FCE78 #4F65CE #CE4FA4
split-complementary
#CEB84F #4FA4CE #784FCE
monochromatic
#7F6F23 #AF9931 #CEB84F #DBCB7F #E9DFAF

Accessibility & contrast

On white

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

On black

10.59
#CEB84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB84F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB84F#FFFFFF#000000##000000
##CEB84F1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#CFBB54
Tritanopia (blue-blind)
#DDABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ceb84f;
/* rgb */ color: rgb(206, 184, 79);
/* oklch */ color: oklch(78.1% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#e0cd84',
    500: '#ceb84f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb84f;
$custom-light: #e0cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb84f",
  "rgb": {
    "r": 206,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 49.606,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78126,
    "c": 0.12678,
    "h": 97.5
  },
  "luminance": 0.47967
}

Semantic roles & 50–950 ramp

primary
#CEB84F
secondary
#A2ABD7
accent
#62E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB84F

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

Preview Lab → · Contrast checker → · Palette generator →

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