#CEBF4F#CEBF4F

#CEBF4F is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.6% C 0.133 H 101.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CEBF4F
RGBrgb(206, 191, 79)
HSLhsl(53, 56%, 56%)
HSVhsv(53, 62%, 81%)
CMYKcmyk(0%, 7.3%, 61.7%, 19.2%)
CIE-LABlab(76.65, -8.22, 56.83)
CIE-LCHlch(76.65, 57.42, 98.23°)
OKLaboklab(79.59% -0.0269 0.13)
OKLCHoklch(79.59% 0.133 101.7)
XYZxyz(45.4974, 50.9497, 14.8333)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF4F #4F5ECE
analogous
#CE7F4F #CEBF4F #9DCE4F
triadic
#CEBF4F #4FCEBF #BF4FCE
tetradic
#CEBF4F #4FCE7F #4F5ECE #CE4F9D
square
#CEBF4F #4FCE7F #4F5ECE #CE4F9D
split-complementary
#CEBF4F #4F9DCE #7F4FCE
monochromatic
#7F7423 #AFA031 #CEBF4F #DBD07F #E9E2AF

Accessibility & contrast

On white

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

On black

11.19
#CEBF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF4F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF4F#FFFFFF#000000##000000
##CEBF4F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB942
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#DDB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf4f;
/* rgb */ color: rgb(206, 191, 79);
/* oklch */ color: oklch(79.6% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#e0d285',
    500: '#cebf4f',
    950: '#000000',
  },
}
SCSS
$custom: #cebf4f;
$custom-light: #e0d285;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf4f",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 52.913,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79588,
    "c": 0.13275,
    "h": 101.7
  },
  "luminance": 0.50948
}

Semantic roles & 50–950 ramp

primary
#CEBF4F
secondary
#3A4387
accent
#5AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEBF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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