#CEBF30#CEBF30

#CEBF30 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.153 H 103.1°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CEBF30
RGBrgb(206, 191, 48)
HSLhsl(54, 62%, 50%)
HSVhsv(54, 77%, 81%)
CMYKcmyk(0%, 7.3%, 76.7%, 19.2%)
CIE-LABlab(76.44, -9.83, 68.50)
CIE-LCHlch(76.44, 69.20, 98.17°)
OKLaboklab(79.35% -0.0347 0.1495)
OKLCHoklch(79.35% 0.153 103.1)
XYZxyz(44.6200, 50.5988, 10.2119)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF30 #303FCE
analogous
#CE7030 #CEBF30 #8ECE30
triadic
#CEBF30 #30CEBF #BF30CE
tetradic
#CEBF30 #30CE70 #303FCE #CE308E
square
#CEBF30 #30CE70 #303FCE #CE308E
split-complementary
#CEBF30 #308ECE #7030CE
monochromatic
#6B6319 #9C9124 #CEBF30 #DACF61 #E6DE93

Accessibility & contrast

On white

1.89
#CEBF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CEBF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF30
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF30#FFFFFF#000000##000000
##CEBF301.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90C
Deuteranopia (green-blind)
#D5C03B
Tritanopia (blue-blind)
#DEB1A4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf30;
/* rgb */ color: rgb(206, 191, 48);
/* oklch */ color: oklch(79.3% 0.153 103.1);
Tailwind
colors: {
  custom: {
    50: '#e1d174',
    500: '#cebf30',
    950: '#000000',
  },
}
SCSS
$custom: #cebf30;
$custom-light: #e1d174;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf30",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 54.304,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7935,
    "c": 0.15344,
    "h": 103.1
  },
  "luminance": 0.50597
}

Semantic roles & 50–950 ramp

primary
#CEBF30
secondary
#2E3474
accent
#52E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CEBF30

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

Preview Lab → · Contrast checker → · Palette generator →

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