#CFBD72#CFBD72

#CFBD72 is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.7% C 0.098 H 96.3°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CFBD72
RGBrgb(207, 189, 114)
HSLhsl(48, 49%, 63%)
HSVhsv(48, 45%, 81%)
CMYKcmyk(0%, 8.7%, 44.9%, 18.8%)
CIE-LABlab(76.60, -3.86, 40.10)
CIE-LCHlch(76.60, 40.29, 95.50°)
OKLaboklab(79.7% -0.0106 0.097)
OKLCHoklch(79.7% 0.098 96.3)
XYZxyz(46.9682, 50.8772, 23.2625)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD72 #7284CF
analogous
#CF8E72 #CFBD72 #B2CF72
triadic
#CFBD72 #72CFBD #BD72CF
tetradic
#CFBD72 #72CF8E #7284CF #CF72B2
square
#CFBD72 #72CF8E #7284CF #CF72B2
split-complementary
#CFBD72 #72B2CF #8E72CF
monochromatic
#948132 #BFA844 #CFBD72 #DFD2A0 #EEE8CD

Accessibility & contrast

On white

1.88
#CFBD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CFBD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD72
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD72#FFFFFF#000000##000000
##CFBD721.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBA6C
Deuteranopia (green-blind)
#D0C075
Tritanopia (blue-blind)
#DCB3AB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbd72;
/* rgb */ color: rgb(207, 189, 114);
/* oklch */ color: oklch(79.7% 0.098 96.3);
Tailwind
colors: {
  custom: {
    50: '#dfd09c',
    500: '#cfbd72',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd72;
$custom-light: #dfd09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd72",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 114
  },
  "hsl": {
    "h": 48.387,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.79701,
    "c": 0.09754,
    "h": 96.3
  },
  "luminance": 0.50875
}

Semantic roles & 50–950 ramp

primary
#CFBD72
secondary
#4B5A9A
accent
#46BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFBD72

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

Preview Lab → · Contrast checker → · Palette generator →

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