#CFBF54#CFBF54

#CFBF54 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.129 H 100.9°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CFBF54
RGBrgb(207, 191, 84)
HSLhsl(52, 56%, 57%)
HSVhsv(52, 59%, 81%)
CMYKcmyk(0%, 7.7%, 59.4%, 18.8%)
CIE-LABlab(76.78, -7.46, 54.78)
CIE-LCHlch(76.78, 55.28, 97.75°)
OKLaboklab(79.73% -0.0242 0.1263)
OKLCHoklch(79.73% 0.129 100.9)
XYZxyz(45.9649, 51.1689, 15.8412)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF54 #5464CF
analogous
#CF8254 #CFBF54 #A2CF54
triadic
#CFBF54 #54CFBF #BF54CF
tetradic
#CFBF54 #54CF82 #5464CF #CF54A2
square
#CFBF54 #54CF82 #5464CF #CF54A2
split-complementary
#CFBF54 #54A2CF #8254CF
monochromatic
#847725 #B3A332 #CFBF54 #DCD184 #EAE3B4

Accessibility & contrast

On white

1.87
#CFBF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CFBF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF54
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF54#FFFFFF#000000##000000
##CFBF541.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA49
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#DEB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf54;
/* rgb */ color: rgb(207, 191, 84);
/* oklch */ color: oklch(79.7% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#e0d288',
    500: '#cfbf54',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf54;
$custom-light: #e0d288;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf54",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 52.195,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79729,
    "c": 0.12858,
    "h": 100.9
  },
  "luminance": 0.51167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBF54

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

Preview Lab → · Contrast checker → · Palette generator →

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