#CEBD2F#CEBD2F

#CEBD2F is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.9% C 0.152 H 102.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CEBD2F
RGBrgb(206, 189, 47)
HSLhsl(54, 63%, 50%)
HSVhsv(54, 77%, 81%)
CMYKcmyk(0%, 8.3%, 77.2%, 19.2%)
CIE-LABlab(75.90, -8.84, 68.33)
CIE-LCHlch(75.90, 68.90, 97.37°)
OKLaboklab(78.92% -0.032 0.1489)
OKLCHoklch(78.92% 0.152 102.1)
XYZxyz(44.1664, 49.7242, 9.9601)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBD2F #2F40CE
analogous
#CE6E2F #CEBD2F #90CE2F
triadic
#CEBD2F #2FCEBD #BD2FCE
tetradic
#CEBD2F #2FCE6E #2F40CE #CE2F90
square
#CEBD2F #2FCE6E #2F40CE #CE2F90
split-complementary
#CEBD2F #2F90CE #6E2FCE
monochromatic
#6A6218 #9C8F24 #CEBD2F #DBCD60 #E6DD91

Accessibility & contrast

On white

1.92
#CEBD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#CEBD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBD2F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBD2F#FFFFFF#000000##000000
##CEBD2F1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70A
Deuteranopia (green-blind)
#D4BE3A
Tritanopia (blue-blind)
#DEAFA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebd2f;
/* rgb */ color: rgb(206, 189, 47);
/* oklch */ color: oklch(78.9% 0.152 102.1);
Tailwind
colors: {
  custom: {
    50: '#e1d073',
    500: '#cebd2f',
    950: '#000000',
  },
}
SCSS
$custom: #cebd2f;
$custom-light: #e1d073;
$custom-dark: #000000;
JSON
{
  "hex": "#cebd2f",
  "rgb": {
    "r": 206,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 53.585,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78923,
    "c": 0.15231,
    "h": 102.1
  },
  "luminance": 0.49722
}

Semantic roles & 50–950 ramp

primary
#CEBD2F
secondary
#8890D1
accent
#53E642
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CEBD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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