#CFBA47#CFBA47

#CFBA47 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.135 H 98.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CFBA47
RGBrgb(207, 186, 71)
HSLhsl(51, 59%, 55%)
HSVhsv(51, 66%, 81%)
CMYKcmyk(0%, 10.1%, 65.7%, 18.8%)
CIE-LABlab(75.35, -5.71, 58.90)
CIE-LCHlch(75.35, 59.18, 95.54°)
OKLaboklab(78.56% -0.0207 0.1332)
OKLCHoklch(78.56% 0.135 98.9)
XYZxyz(44.4303, 48.8402, 13.0468)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA47 #475CCF
analogous
#CF7647 #CFBA47 #A0CF47
triadic
#CFBA47 #47CFBA #BA47CF
tetradic
#CFBA47 #47CF76 #475CCF #CF47A0
square
#CFBA47 #47CF76 #475CCF #CF47A0
split-complementary
#CFBA47 #47A0CF #7647CF
monochromatic
#7B6D20 #AC982D #CFBA47 #DCCC78 #E8DEA8

Accessibility & contrast

On white

1.95
#CFBA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CFBA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA47
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA47#FFFFFF#000000##000000
##CFBA471.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB539
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#DFADA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba47;
/* rgb */ color: rgb(207, 186, 71);
/* oklch */ color: oklch(78.6% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#e1ce80',
    500: '#cfba47',
    950: '#000000',
  },
}
SCSS
$custom: #cfba47;
$custom-light: #e1ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba47",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 50.735,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78559,
    "c": 0.13478,
    "h": 98.9
  },
  "luminance": 0.48838
}

Semantic roles & 50–950 ramp

primary
#CFBA47
secondary
#9CA5D6
accent
#5EE246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBA47

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

Preview Lab → · Contrast checker → · Palette generator →

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