#CFBD78#CFBD78

#CFBD78 is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.091 H 95.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CFBD78
RGBrgb(207, 189, 120)
HSLhsl(48, 48%, 64%)
HSVhsv(48, 42%, 81%)
CMYKcmyk(0%, 8.7%, 42%, 18.8%)
CIE-LABlab(76.69, -3.24, 37.15)
CIE-LCHlch(76.69, 37.29, 94.99°)
OKLaboklab(79.8% -0.0083 0.0906)
OKLCHoklch(79.8% 0.091 95.2)
XYZxyz(47.3210, 51.0183, 25.1205)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD78 #788ACF
analogous
#CF9278 #CFBD78 #B6CF78
triadic
#CFBD78 #78CFBD #BD78CF
tetradic
#CFBD78 #78CF92 #788ACF #CF78B6
square
#CFBD78 #78CF92 #788ACF #CF78B6
split-complementary
#CFBD78 #78B6CF #9278CF
monochromatic
#978336 #BFA74B #CFBD78 #DFD3A5 #EFE9D2

Accessibility & contrast

On white

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

On black

11.20
#CFBD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD78
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD78#FFFFFF#000000##000000
##CFBD781.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABA73
Deuteranopia (green-blind)
#CFC07B
Tritanopia (blue-blind)
#DBB3AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbd78;
/* rgb */ color: rgb(207, 189, 120);
/* oklch */ color: oklch(79.8% 0.091 95.2);
Tailwind
colors: {
  custom: {
    50: '#dfd0a0',
    500: '#cfbd78',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd78;
$custom-light: #dfd0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd78",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 120
  },
  "hsl": {
    "h": 47.586,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79797,
    "c": 0.09099,
    "h": 95.2
  },
  "luminance": 0.51017
}

Semantic roles & 50–950 ramp

primary
#CFBD78
secondary
#4E5F9D
accent
#49BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFBD78

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

Preview Lab → · Contrast checker → · Palette generator →

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