#CFBE51#CFBE51

#CFBE51 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.5% C 0.130 H 100.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CFBE51
RGBrgb(207, 190, 81)
HSLhsl(52, 57%, 56%)
HSVhsv(52, 61%, 81%)
CMYKcmyk(0%, 8.2%, 60.9%, 18.8%)
CIE-LABlab(76.49, -7.15, 55.80)
CIE-LCHlch(76.49, 56.25, 97.30°)
OKLaboklab(79.49% -0.0237 0.1281)
OKLCHoklch(79.49% 0.13 100.5)
XYZxyz(45.6326, 50.6883, 15.1631)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE51 #5162CF
analogous
#CF7F51 #CFBE51 #A1CF51
triadic
#CFBE51 #51CFBE #BE51CF
tetradic
#CFBE51 #51CF7F #5162CF #CF51A1
square
#CFBE51 #51CF7F #5162CF #CF51A1
split-complementary
#CFBE51 #51A1CF #7F51CF
monochromatic
#827524 #B2A031 #CFBE51 #DCD081 #E9E2B1

Accessibility & contrast

On white

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

On black

11.14
#CFBE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE51
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE51#FFFFFF#000000##000000
##CFBE511.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB945
Deuteranopia (green-blind)
#D3C057
Tritanopia (blue-blind)
#DEB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe51;
/* rgb */ color: rgb(207, 190, 81);
/* oklch */ color: oklch(79.5% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#e1d186',
    500: '#cfbe51',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe51;
$custom-light: #e1d186;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe51",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 51.905,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79488,
    "c": 0.13022,
    "h": 100.5
  },
  "luminance": 0.50686
}

Semantic roles & 50–950 ramp

primary
#CFBE51
secondary
#3B4689
accent
#5CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE51

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

Preview Lab → · Contrast checker → · Palette generator →

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