#CFBE5B#CFBE5B

#CFBE5B is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.6% C 0.121 H 99.7°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CFBE5B
RGBrgb(207, 190, 91)
HSLhsl(51, 55%, 58%)
HSVhsv(51, 56%, 81%)
CMYKcmyk(0%, 8.2%, 56%, 18.8%)
CIE-LABlab(76.59, -6.42, 51.34)
CIE-LCHlch(76.59, 51.74, 97.13°)
OKLaboklab(79.6% -0.0205 0.1197)
OKLCHoklch(79.6% 0.121 99.7)
XYZxyz(46.0355, 50.8495, 17.2855)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE5B #5B6CCF
analogous
#CF845B #CFBE5B #A6CF5B
triadic
#CFBE5B #5BCFBE #BE5BCF
tetradic
#CFBE5B #5BCF84 #5B6CCF #CF5BA6
square
#CFBE5B #5BCF84 #5B6CCF #CF5BA6
split-complementary
#CFBE5B #5BA6CF #845BCF
monochromatic
#887A28 #B7A436 #CFBE5B #DDD18A #EBE4BA

Accessibility & contrast

On white

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

On black

11.17
#CFBE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE5B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE5B#FFFFFF#000000##000000
##CFBE5B1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB951
Deuteranopia (green-blind)
#D3C060
Tritanopia (blue-blind)
#DDB2A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe5b;
/* rgb */ color: rgb(207, 190, 91);
/* oklch */ color: oklch(79.6% 0.121 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0d18c',
    500: '#cfbe5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe5b;
$custom-light: #e0d18c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe5b",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 91
  },
  "hsl": {
    "h": 51.207,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79598,
    "c": 0.12147,
    "h": 99.7
  },
  "luminance": 0.50848
}

Semantic roles & 50–950 ramp

primary
#CFBE5B
secondary
#404B8F
accent
#5FDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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