#CFBF70#CFBF70

#CFBF70 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.102 H 98.2°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CFBF70
RGBrgb(207, 191, 112)
HSLhsl(50, 50%, 63%)
HSVhsv(50, 46%, 81%)
CMYKcmyk(0%, 7.7%, 45.9%, 18.8%)
CIE-LABlab(77.10, -5.10, 41.73)
CIE-LCHlch(77.10, 42.04, 96.97°)
OKLaboklab(80.08% -0.0144 0.1005)
OKLCHoklch(80.08% 0.102 98.2)
XYZxyz(47.2888, 51.6985, 22.8139)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF70 #7080CF
analogous
#CF9070 #CFBF70 #AFCF70
triadic
#CFBF70 #70CFBF #BF70CF
tetradic
#CFBF70 #70CF90 #7080CF #CF70AF
square
#CFBF70 #70CF90 #7080CF #CF70AF
split-complementary
#CFBF70 #70AFCF #9070CF
monochromatic
#938331 #C0AA42 #CFBF70 #DED49E #EEE8CC

Accessibility & contrast

On white

1.85
#CFBF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CFBF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF70
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF70#FFFFFF#000000##000000
##CFBF701.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6A
Deuteranopia (green-blind)
#D1C173
Tritanopia (blue-blind)
#DCB5AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf70;
/* rgb */ color: rgb(207, 191, 112);
/* oklch */ color: oklch(80.1% 0.102 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfd29a',
    500: '#cfbf70',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf70;
$custom-light: #dfd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf70",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 112
  },
  "hsl": {
    "h": 49.895,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80084,
    "c": 0.10152,
    "h": 98.2
  },
  "luminance": 0.51697
}

Semantic roles & 50–950 ramp

primary
#CFBF70
secondary
#4A5799
accent
#41BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFBF70

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

Preview Lab → · Contrast checker → · Palette generator →

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