#CEBE7C#CEBE7C

#CEBE7C is a light, moderate yellow. Relative luminance 0.514; OKLCH L 80.0% C 0.087 H 96.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CEBE7C
RGBrgb(206, 190, 124)
HSLhsl(48, 46%, 65%)
HSVhsv(48, 40%, 81%)
CMYKcmyk(0%, 7.8%, 39.8%, 19.2%)
CIE-LABlab(76.92, -3.73, 35.37)
CIE-LCHlch(76.92, 35.56, 96.02°)
OKLaboklab(79.98% -0.0094 0.0867)
OKLCHoklch(79.98% 0.087 96.2)
XYZxyz(47.5061, 51.4055, 26.4847)
Luminance0.5140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBE7C #7C8CCE
analogous
#CE957C #CEBE7C #B5CE7C
triadic
#CEBE7C #7CCEBE #BE7CCE
tetradic
#CEBE7C #7CCE95 #7C8CCE #CE7CB5
square
#CEBE7C #7CCE95 #7C8CCE #CE7CB5
split-complementary
#CEBE7C #7CB5CE #957CCE
monochromatic
#978539 #BDA84F #CEBE7C #DFD4A9 #EFEAD5

Accessibility & contrast

On white

1.86
#CEBE7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CEBE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBE7C
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBE7C#FFFFFF#000000##000000
##CEBE7C1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB77
Deuteranopia (green-blind)
#CFC07E
Tritanopia (blue-blind)
#DAB5AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cebe7c;
/* rgb */ color: rgb(206, 190, 124);
/* oklch */ color: oklch(80.0% 0.087 96.2);
Tailwind
colors: {
  custom: {
    50: '#ded1a2',
    500: '#cebe7c',
    950: '#000000',
  },
}
SCSS
$custom: #cebe7c;
$custom-light: #ded1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cebe7c",
  "rgb": {
    "r": 206,
    "g": 190,
    "b": 124
  },
  "hsl": {
    "h": 48.293,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.7998,
    "c": 0.08724,
    "h": 96.2
  },
  "luminance": 0.51404
}

Semantic roles & 50–950 ramp

primary
#CEBE7C
secondary
#51609D
accent
#48B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEBE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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