#CEBB4F#CEBB4F

#CEBB4F is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.129 H 99.4°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CEBB4F
RGBrgb(206, 187, 79)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 62%, 81%)
CMYKcmyk(0%, 9.2%, 61.7%, 19.2%)
CIE-LABlab(75.59, -6.15, 55.68)
CIE-LCHlch(75.59, 56.02, 96.31°)
OKLaboklab(78.75% -0.021 0.1275)
OKLCHoklch(78.75% 0.129 99.4)
XYZxyz(44.6370, 49.2289, 14.5465)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBB4F #4F62CE
analogous
#CE7B4F #CEBB4F #A1CE4F
triadic
#CEBB4F #4FCEBB #BB4FCE
tetradic
#CEBB4F #4FCE7B #4F62CE #CE4FA1
square
#CEBB4F #4FCE7B #4F62CE #CE4FA1
split-complementary
#CEBB4F #4FA1CE #7B4FCE
monochromatic
#7F7123 #AF9C31 #CEBB4F #DBCD7F #E9E0AF

Accessibility & contrast

On white

1.94
#CEBB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CEBB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBB4F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBB4F#FFFFFF#000000##000000
##CEBB4F1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB643
Deuteranopia (green-blind)
#D1BD55
Tritanopia (blue-blind)
#DDAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cebb4f;
/* rgb */ color: rgb(206, 187, 79);
/* oklch */ color: oklch(78.8% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#e0cf85',
    500: '#cebb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cebb4f;
$custom-light: #e0cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#cebb4f",
  "rgb": {
    "r": 206,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 51.024,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78751,
    "c": 0.12926,
    "h": 99.4
  },
  "luminance": 0.49227
}

Semantic roles & 50–950 ramp

primary
#CEBB4F
secondary
#A2AAD7
accent
#5FE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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