#CFBF62#CFBF62

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

Color values

HEX#CFBF62
RGBrgb(207, 191, 98)
HSLhsl(51, 53%, 60%)
HSVhsv(51, 53%, 81%)
CMYKcmyk(0%, 7.7%, 52.7%, 18.8%)
CIE-LABlab(76.93, -6.37, 48.41)
CIE-LCHlch(76.93, 48.83, 97.50°)
OKLaboklab(79.89% -0.0195 0.1141)
OKLCHoklch(79.89% 0.116 99.7)
XYZxyz(46.5690, 51.4106, 19.0231)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF62 #6272CF
analogous
#CF8962 #CFBF62 #A8CF62
triadic
#CFBF62 #62CFBF #BF62CF
tetradic
#CFBF62 #62CF89 #6272CF #CF62A8
square
#CFBF62 #62CF89 #6272CF #CF62A8
split-complementary
#CFBF62 #62A8CF #8962CF
monochromatic
#8C7E2B #BBA839 #CFBF62 #DDD291 #ECE5C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF62#FFFFFF#000000##000000
##CFBF621.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)
#CEBA59
Deuteranopia (green-blind)
#D3C166
Tritanopia (blue-blind)
#DDB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf62;
/* rgb */ color: rgb(207, 191, 98);
/* oklch */ color: oklch(79.9% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0d291',
    500: '#cfbf62',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf62;
$custom-light: #e0d291;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf62",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 51.193,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79891,
    "c": 0.11577,
    "h": 99.7
  },
  "luminance": 0.51409
}

Semantic roles & 50–950 ramp

primary
#CFBF62
secondary
#434F92
accent
#61DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFBF62

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

Preview Lab → · Contrast checker → · Palette generator →

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