#CEBF62#CEBF62

#CEBF62 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.116 H 100.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CEBF62
RGBrgb(206, 191, 98)
HSLhsl(52, 52%, 60%)
HSVhsv(52, 52%, 81%)
CMYKcmyk(0%, 7.3%, 52.4%, 19.2%)
CIE-LABlab(76.84, -6.79, 48.29)
CIE-LCHlch(76.84, 48.76, 98.00°)
OKLaboklab(79.8% -0.0207 0.1139)
OKLCHoklch(79.8% 0.116 100.3)
XYZxyz(46.2905, 51.2670, 19.0100)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF62 #6271CE
analogous
#CE8962 #CEBF62 #A7CE62
triadic
#CEBF62 #62CEBF #BF62CE
tetradic
#CEBF62 #62CE89 #6271CE #CE62A7
square
#CEBF62 #62CE89 #6271CE #CE62A7
split-complementary
#CEBF62 #62A7CE #8962CE
monochromatic
#8A7D2B #B9A73A #CEBF62 #DDD291 #EBE5BF

Accessibility & contrast

On white

1.87
#CEBF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CEBF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF62
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF62#FFFFFF#000000##000000
##CEBF621.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA59
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#DCB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cebf62;
/* rgb */ color: rgb(206, 191, 98);
/* oklch */ color: oklch(79.8% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#dfd291',
    500: '#cebf62',
    950: '#000000',
  },
}
SCSS
$custom: #cebf62;
$custom-light: #dfd291;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf62",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 51.667,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79802,
    "c": 0.11572,
    "h": 100.3
  },
  "luminance": 0.51265
}

Semantic roles & 50–950 ramp

primary
#CEBF62
secondary
#434E91
accent
#60DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEBF62

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

Preview Lab → · Contrast checker → · Palette generator →

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