#CEBB2F#CEBB2F

#CEBB2F is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.5% C 0.151 H 101.1°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CEBB2F
RGBrgb(206, 187, 47)
HSLhsl(53, 63%, 50%)
HSVhsv(53, 77%, 81%)
CMYKcmyk(0%, 9.2%, 77.2%, 19.2%)
CIE-LABlab(75.37, -7.81, 67.85)
CIE-LCHlch(75.37, 68.30, 96.57°)
OKLaboklab(78.5% -0.0291 0.1479)
OKLCHoklch(78.5% 0.151 101.1)
XYZxyz(43.7391, 48.8697, 9.8177)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBB2F #2F42CE
analogous
#CE6B2F #CEBB2F #92CE2F
triadic
#CEBB2F #2FCEBB #BB2FCE
tetradic
#CEBB2F #2FCE6B #2F42CE #CE2F92
square
#CEBB2F #2FCE6B #2F42CE #CE2F92
split-complementary
#CEBB2F #2F92CE #6B2FCE
monochromatic
#6A6118 #9C8E24 #CEBB2F #DBCC60 #E6DC91

Accessibility & contrast

On white

1.95
#CEBB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CEBB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBB2F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBB2F#FFFFFF#000000##000000
##CEBB2F1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50C
Deuteranopia (green-blind)
#D2BD39
Tritanopia (blue-blind)
#DEADA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cebb2f;
/* rgb */ color: rgb(206, 187, 47);
/* oklch */ color: oklch(78.5% 0.151 101.1);
Tailwind
colors: {
  custom: {
    50: '#e1cf73',
    500: '#cebb2f',
    950: '#000000',
  },
}
SCSS
$custom: #cebb2f;
$custom-light: #e1cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#cebb2f",
  "rgb": {
    "r": 206,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 52.83,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78502,
    "c": 0.15071,
    "h": 101.1
  },
  "luminance": 0.48868
}

Semantic roles & 50–950 ramp

primary
#CEBB2F
secondary
#8891D1
accent
#56E642
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CEBB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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