#CEBF40#CEBF40

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

Color values

HEX#CEBF40
RGBrgb(206, 191, 64)
HSLhsl(54, 59%, 53%)
HSVhsv(54, 69%, 81%)
CMYKcmyk(0%, 7.3%, 68.9%, 19.2%)
CIE-LABlab(76.53, -9.11, 62.92)
CIE-LCHlch(76.53, 63.57, 98.24°)
OKLaboklab(79.46% -0.0311 0.1405)
OKLCHoklch(79.46% 0.144 102.5)
XYZxyz(45.0117, 50.7555, 12.2753)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF40 #404FCE
analogous
#CE7840 #CEBF40 #96CE40
triadic
#CEBF40 #40CEBF #BF40CE
tetradic
#CEBF40 #40CE78 #404FCE #CE4096
square
#CEBF40 #40CE78 #404FCE #CE4096
split-complementary
#CEBF40 #4096CE #7840CE
monochromatic
#756C1E #A6992B #CEBF40 #DACF71 #E7E0A1

Accessibility & contrast

On white

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

On black

11.15
#CEBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF40
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF40#FFFFFF#000000##000000
##CEBF401.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#DDB2A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf40;
/* rgb */ color: rgb(206, 191, 64);
/* oklch */ color: oklch(79.5% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#e1d27c',
    500: '#cebf40',
    950: '#000000',
  },
}
SCSS
$custom: #cebf40;
$custom-light: #e1d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf40",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 53.662,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79456,
    "c": 0.14393,
    "h": 102.5
  },
  "luminance": 0.50754
}

Semantic roles & 50–950 ramp

primary
#CEBF40
secondary
#343C7E
accent
#56E245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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