#CEBC2F#CEBC2F

#CEBC2F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.152 H 101.6°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CEBC2F
RGBrgb(206, 188, 47)
HSLhsl(53, 63%, 50%)
HSVhsv(53, 77%, 81%)
CMYKcmyk(0%, 8.7%, 77.2%, 19.2%)
CIE-LABlab(75.63, -8.33, 68.09)
CIE-LCHlch(75.63, 68.60, 96.97°)
OKLaboklab(78.71% -0.0306 0.1484)
OKLCHoklch(78.71% 0.152 101.6)
XYZxyz(43.9520, 49.2955, 9.8886)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC2F #2F41CE
analogous
#CE6D2F #CEBC2F #90CE2F
triadic
#CEBC2F #2FCEBC #BC2FCE
tetradic
#CEBC2F #2FCE6D #2F41CE #CE2F90
square
#CEBC2F #2FCE6D #2F41CE #CE2F90
split-complementary
#CEBC2F #2F90CE #6D2FCE
monochromatic
#6A6118 #9C8F24 #CEBC2F #DBCD60 #E6DC91

Accessibility & contrast

On white

1.93
#CEBC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CEBC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC2F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC2F#FFFFFF#000000##000000
##CEBC2F1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60B
Deuteranopia (green-blind)
#D3BE3A
Tritanopia (blue-blind)
#DEAEA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cebc2f;
/* rgb */ color: rgb(206, 188, 47);
/* oklch */ color: oklch(78.7% 0.152 101.6);
Tailwind
colors: {
  custom: {
    50: '#e1cf73',
    500: '#cebc2f',
    950: '#000000',
  },
}
SCSS
$custom: #cebc2f;
$custom-light: #e1cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc2f",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 53.208,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78712,
    "c": 0.15151,
    "h": 101.6
  },
  "luminance": 0.49293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEBC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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