#CEBC4F#CEBC4F

#CEBC4F is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.130 H 100.0°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CEBC4F
RGBrgb(206, 188, 79)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 62%, 81%)
CMYKcmyk(0%, 8.7%, 61.7%, 19.2%)
CIE-LABlab(75.86, -6.67, 55.97)
CIE-LCHlch(75.86, 56.36, 96.80°)
OKLaboklab(78.96% -0.0225 0.1282)
OKLCHoklch(78.96% 0.13 100)
XYZxyz(44.8499, 49.6547, 14.6175)
Luminance0.4965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC4F #4F61CE
analogous
#CE7C4F #CEBC4F #A0CE4F
triadic
#CEBC4F #4FCEBC #BC4FCE
tetradic
#CEBC4F #4FCE7C #4F61CE #CE4FA0
square
#CEBC4F #4FCE7C #4F61CE #CE4FA0
split-complementary
#CEBC4F #4FA0CE #7C4FCE
monochromatic
#7F7223 #AF9D31 #CEBC4F #DBCE7F #E9E0AF

Accessibility & contrast

On white

1.92
#CEBC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CEBC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC4F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC4F#FFFFFF#000000##000000
##CEBC4F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#DDAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc4f;
/* rgb */ color: rgb(206, 188, 79);
/* oklch */ color: oklch(79.0% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#e0cf85',
    500: '#cebc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cebc4f;
$custom-light: #e0cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc4f",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 51.496,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7896,
    "c": 0.13012,
    "h": 100
  },
  "luminance": 0.49653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEBC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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