#CEBE4F#CEBE4F

#CEBE4F is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.132 H 101.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CEBE4F
RGBrgb(206, 190, 79)
HSLhsl(52, 56%, 56%)
HSVhsv(52, 62%, 81%)
CMYKcmyk(0%, 7.8%, 61.7%, 19.2%)
CIE-LABlab(76.38, -7.70, 56.54)
CIE-LCHlch(76.38, 57.06, 97.76°)
OKLaboklab(79.38% -0.0255 0.1294)
OKLCHoklch(79.38% 0.132 101.1)
XYZxyz(45.2801, 50.5151, 14.7609)
Luminance0.5051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBE4F #4F5FCE
analogous
#CE7E4F #CEBE4F #9ECE4F
triadic
#CEBE4F #4FCEBE #BE4FCE
tetradic
#CEBE4F #4FCE7E #4F5FCE #CE4F9E
square
#CEBE4F #4FCE7E #4F5FCE #CE4F9E
split-complementary
#CEBE4F #4F9ECE #7E4FCE
monochromatic
#7F7423 #AF9F31 #CEBE4F #DBD07F #E9E1AF

Accessibility & contrast

On white

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

On black

11.10
#CEBE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBE4F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBE4F#FFFFFF#000000##000000
##CEBE4F1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB942
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#DDB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebe4f;
/* rgb */ color: rgb(206, 190, 79);
/* oklch */ color: oklch(79.4% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#e0d185',
    500: '#cebe4f',
    950: '#000000',
  },
}
SCSS
$custom: #cebe4f;
$custom-light: #e0d185;
$custom-dark: #000000;
JSON
{
  "hex": "#cebe4f",
  "rgb": {
    "r": 206,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 52.441,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79378,
    "c": 0.13186,
    "h": 101.1
  },
  "luminance": 0.50513
}

Semantic roles & 50–950 ramp

primary
#CEBE4F
secondary
#3A4487
accent
#5BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEBE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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