#CFBE54#CFBE54

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

Color values

HEX#CFBE54
RGBrgb(207, 190, 84)
HSLhsl(52, 56%, 57%)
HSVhsv(52, 59%, 81%)
CMYKcmyk(0%, 8.2%, 59.4%, 18.8%)
CIE-LABlab(76.52, -6.94, 54.48)
CIE-LCHlch(76.52, 54.92, 97.26°)
OKLaboklab(79.52% -0.0228 0.1256)
OKLCHoklch(79.52% 0.128 100.3)
XYZxyz(45.7475, 50.7343, 15.7687)
Luminance0.5073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE54 #5465CF
analogous
#CF8054 #CFBE54 #A3CF54
triadic
#CFBE54 #54CFBE #BE54CF
tetradic
#CFBE54 #54CF80 #5465CF #CF54A3
square
#CFBE54 #54CF80 #5465CF #CF54A3
split-complementary
#CFBE54 #54A3CF #8054CF
monochromatic
#847725 #B3A232 #CFBE54 #DCD084 #EAE2B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBE54#FFFFFF#000000##000000
##CFBE541.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)
#CEB949
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#DEB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe54;
/* rgb */ color: rgb(207, 190, 84);
/* oklch */ color: oklch(79.5% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0d188',
    500: '#cfbe54',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe54;
$custom-light: #e0d188;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe54",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 84
  },
  "hsl": {
    "h": 51.707,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7952,
    "c": 0.12768,
    "h": 100.3
  },
  "luminance": 0.50732
}

Semantic roles & 50–950 ramp

primary
#CFBE54
secondary
#3C478B
accent
#5DDF48
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBE54

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

Preview Lab → · Contrast checker → · Palette generator →

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