#CEBE5F#CEBE5F

#CEBE5F is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.6% C 0.118 H 99.9°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CEBE5F
RGBrgb(206, 190, 95)
HSLhsl(51, 53%, 59%)
HSVhsv(51, 54%, 81%)
CMYKcmyk(0%, 7.8%, 53.9%, 19.2%)
CIE-LABlab(76.54, -6.52, 49.38)
CIE-LCHlch(76.54, 49.80, 97.52°)
OKLaboklab(79.56% -0.0202 0.1159)
OKLCHoklch(79.56% 0.118 99.9)
XYZxyz(45.9341, 50.7767, 18.2055)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBE5F #5F6FCE
analogous
#CE875F #CEBE5F #A7CE5F
triadic
#CEBE5F #5FCEBE #BE5FCE
tetradic
#CEBE5F #5FCE87 #5F6FCE #CE5FA7
square
#CEBE5F #5FCE87 #5F6FCE #CE5FA7
split-complementary
#CEBE5F #5FA7CE #875FCE
monochromatic
#897B2A #B8A538 #CEBE5F #DCD18E #EBE4BD

Accessibility & contrast

On white

1.88
#CEBE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#CEBE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBE5F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBE5F#FFFFFF#000000##000000
##CEBE5F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#D2C063
Tritanopia (blue-blind)
#DCB2A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebe5f;
/* rgb */ color: rgb(206, 190, 95);
/* oklch */ color: oklch(79.6% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#dfd18f',
    500: '#cebe5f',
    950: '#000000',
  },
}
SCSS
$custom: #cebe5f;
$custom-light: #dfd18f;
$custom-dark: #000000;
JSON
{
  "hex": "#cebe5f",
  "rgb": {
    "r": 206,
    "g": 190,
    "b": 95
  },
  "hsl": {
    "h": 51.351,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79556,
    "c": 0.11768,
    "h": 99.9
  },
  "luminance": 0.50775
}

Semantic roles & 50–950 ramp

primary
#CEBE5F
secondary
#424D8F
accent
#60DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEBE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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