#CEBF42#CEBF42

#CEBF42 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.143 H 102.4°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CEBF42
RGBrgb(206, 191, 66)
HSLhsl(54, 59%, 53%)
HSVhsv(54, 68%, 81%)
CMYKcmyk(0%, 7.3%, 68%, 19.2%)
CIE-LABlab(76.54, -9.00, 62.15)
CIE-LCHlch(76.54, 62.80, 98.24°)
OKLaboklab(79.47% -0.0306 0.1393)
OKLCHoklch(79.47% 0.143 102.4)
XYZxyz(45.0697, 50.7786, 12.5804)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF42 #4251CE
analogous
#CE7942 #CEBF42 #97CE42
triadic
#CEBF42 #42CEBF #BF42CE
tetradic
#CEBF42 #42CE79 #4251CE #CE4297
square
#CEBF42 #42CE79 #4251CE #CE4297
split-complementary
#CEBF42 #4297CE #7942CE
monochromatic
#776D1F #A79A2B #CEBF42 #DBCF73 #E7E0A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEBF42#FFFFFF#000000##000000
##CEBF421.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)
#D0B930
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#DDB2A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf42;
/* rgb */ color: rgb(206, 191, 66);
/* oklch */ color: oklch(79.5% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e0d27d',
    500: '#cebf42',
    950: '#000000',
  },
}
SCSS
$custom: #cebf42;
$custom-light: #e0d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf42",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 53.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79472,
    "c": 0.14257,
    "h": 102.4
  },
  "luminance": 0.50777
}

Semantic roles & 50–950 ramp

primary
#CEBF42
secondary
#353D7F
accent
#57E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEBF42

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

Preview Lab → · Contrast checker → · Palette generator →

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