#CFBE56#CFBE56

#CFBE56 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.126 H 100.1°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CFBE56
RGBrgb(207, 190, 86)
HSLhsl(52, 56%, 57%)
HSVhsv(52, 58%, 81%)
CMYKcmyk(0%, 8.2%, 58.5%, 18.8%)
CIE-LABlab(76.54, -6.80, 53.60)
CIE-LCHlch(76.54, 54.03, 97.23°)
OKLaboklab(79.54% -0.0221 0.124)
OKLCHoklch(79.54% 0.126 100.1)
XYZxyz(45.8270, 50.7660, 16.1872)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE56 #5667CF
analogous
#CF8156 #CFBE56 #A4CF56
triadic
#CFBE56 #56CFBE #BE56CF
tetradic
#CFBE56 #56CF81 #5667CF #CF56A4
square
#CFBE56 #56CF81 #5667CF #CF56A4
split-complementary
#CFBE56 #56A4CF #8156CF
monochromatic
#857726 #B5A233 #CFBE56 #DDD086 #EAE3B5

Accessibility & contrast

On white

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

On black

11.15
#CFBE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE56
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE56#FFFFFF#000000##000000
##CFBE561.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbe56;
/* rgb */ color: rgb(207, 190, 86);
/* oklch */ color: oklch(79.5% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#e0d189',
    500: '#cfbe56',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe56;
$custom-light: #e0d189;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe56",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 86
  },
  "hsl": {
    "h": 51.57,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79541,
    "c": 0.12595,
    "h": 100.1
  },
  "luminance": 0.50764
}

Semantic roles & 50–950 ramp

primary
#CFBE56
secondary
#3D488C
accent
#5EDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBE56

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

Preview Lab → · Contrast checker → · Palette generator →

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