#CFBF58#CFBF58

#CFBF58 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.125 H 100.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CFBF58
RGBrgb(207, 191, 88)
HSLhsl(52, 55%, 58%)
HSVhsv(52, 57%, 81%)
CMYKcmyk(0%, 7.7%, 57.5%, 18.8%)
CIE-LABlab(76.82, -7.17, 53.00)
CIE-LCHlch(76.82, 53.48, 97.70°)
OKLaboklab(79.77% -0.023 0.123)
OKLCHoklch(79.77% 0.125 100.6)
XYZxyz(46.1260, 51.2334, 16.6900)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF58 #5868CF
analogous
#CF8458 #CFBF58 #A3CF58
triadic
#CFBF58 #58CFBF #BF58CF
tetradic
#CFBF58 #58CF84 #5868CF #CF58A3
square
#CFBF58 #58CF84 #5868CF #CF58A3
split-complementary
#CFBF58 #58A3CF #8458CF
monochromatic
#867927 #B6A434 #CFBF58 #DDD188 #EAE3B7

Accessibility & contrast

On white

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

On black

11.25
#CFBF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF58
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF58#FFFFFF#000000##000000
##CFBF581.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4D
Deuteranopia (green-blind)
#D4C05D
Tritanopia (blue-blind)
#DDB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf58;
/* rgb */ color: rgb(207, 191, 88);
/* oklch */ color: oklch(79.8% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#e0d28a',
    500: '#cfbf58',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf58;
$custom-light: #e0d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf58",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 88
  },
  "hsl": {
    "h": 51.933,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79772,
    "c": 0.12507,
    "h": 100.6
  },
  "luminance": 0.51232
}

Semantic roles & 50–950 ramp

primary
#CFBF58
secondary
#3E498D
accent
#5DDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBF58

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

Preview Lab → · Contrast checker → · Palette generator →

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