#CEBF2F#CEBF2F

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

Color values

HEX#CEBF2F
RGBrgb(206, 191, 47)
HSLhsl(54, 63%, 50%)
HSVhsv(54, 77%, 81%)
CMYKcmyk(0%, 7.3%, 77.2%, 19.2%)
CIE-LABlab(76.43, -9.87, 68.81)
CIE-LCHlch(76.43, 69.52, 98.16°)
OKLaboklab(79.35% -0.0349 0.1499)
OKLCHoklch(79.35% 0.154 103.1)
XYZxyz(44.5995, 50.5906, 10.1045)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF2F #2F3ECE
analogous
#CE702F #CEBF2F #8DCE2F
triadic
#CEBF2F #2FCEBF #BF2FCE
tetradic
#CEBF2F #2FCE70 #2F3ECE #CE2F8D
square
#CEBF2F #2FCE70 #2F3ECE #CE2F8D
split-complementary
#CEBF2F #2F8DCE #702FCE
monochromatic
#6A6318 #9C9124 #CEBF2F #DBCF60 #E6DE91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEBF2F#FFFFFF#000000##000000
##CEBF2F1.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)
#D1B908
Deuteranopia (green-blind)
#D5C03A
Tritanopia (blue-blind)
#DEB1A4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf2f;
/* rgb */ color: rgb(206, 191, 47);
/* oklch */ color: oklch(79.3% 0.154 103.1);
Tailwind
colors: {
  custom: {
    50: '#e1d174',
    500: '#cebf2f',
    950: '#000000',
  },
}
SCSS
$custom: #cebf2f;
$custom-light: #e1d174;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf2f",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 54.34,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79345,
    "c": 0.15394,
    "h": 103.1
  },
  "luminance": 0.50589
}

Semantic roles & 50–950 ramp

primary
#CEBF2F
secondary
#2D3474
accent
#51E642
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CEBF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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