#CFBF61#CFBF61

#CFBF61 is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.117 H 99.8°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CFBF61
RGBrgb(207, 191, 97)
HSLhsl(51, 53%, 60%)
HSVhsv(51, 53%, 81%)
CMYKcmyk(0%, 7.7%, 53.1%, 18.8%)
CIE-LABlab(76.92, -6.46, 48.88)
CIE-LCHlch(76.92, 49.30, 97.52°)
OKLaboklab(79.88% -0.0199 0.115)
OKLCHoklch(79.88% 0.117 99.8)
XYZxyz(46.5221, 51.3918, 18.7760)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF61 #6171CF
analogous
#CF8861 #CFBF61 #A8CF61
triadic
#CFBF61 #61CFBF #BF61CF
tetradic
#CFBF61 #61CF88 #6171CF #CF61A8
square
#CFBF61 #61CF88 #6171CF #CF61A8
split-complementary
#CFBF61 #61A8CF #8861CF
monochromatic
#8B7D2A #BAA739 #CFBF61 #DDD290 #ECE5BF

Accessibility & contrast

On white

1.86
#CFBF61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CFBF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF61
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF61#FFFFFF#000000##000000
##CFBF611.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA58
Deuteranopia (green-blind)
#D3C165
Tritanopia (blue-blind)
#DDB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf61;
/* rgb */ color: rgb(207, 191, 97);
/* oklch */ color: oklch(79.9% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#e0d290',
    500: '#cfbf61',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf61;
$custom-light: #e0d290;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf61",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 97
  },
  "hsl": {
    "h": 51.273,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79879,
    "c": 0.11674,
    "h": 99.8
  },
  "luminance": 0.5139
}

Semantic roles & 50–950 ramp

primary
#CFBF61
secondary
#424E92
accent
#60DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFBF61

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

Preview Lab → · Contrast checker → · Palette generator →

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