#CFBE47#CFBE47

#CFBE47 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.138 H 101.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CFBE47
RGBrgb(207, 190, 71)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 66%, 81%)
CMYKcmyk(0%, 8.2%, 65.7%, 18.8%)
CIE-LABlab(76.41, -7.78, 60.01)
CIE-LCHlch(76.41, 60.51, 97.39°)
OKLaboklab(79.39% -0.0266 0.1355)
OKLCHoklch(79.39% 0.138 101.1)
XYZxyz(45.2848, 50.5492, 13.3316)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE47 #4758CF
analogous
#CF7A47 #CFBE47 #9CCF47
triadic
#CFBE47 #47CFBE #BE47CF
tetradic
#CFBE47 #47CF7A #4758CF #CF479C
square
#CFBE47 #47CF7A #4758CF #CF479C
split-complementary
#CFBE47 #479CCF #7A47CF
monochromatic
#7B7020 #AC9C2D #CFBE47 #DCCF78 #E8E0A8

Accessibility & contrast

On white

1.89
#CFBE47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CFBE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE47
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE47#FFFFFF#000000##000000
##CFBE471.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB938
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#DEB1A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbe47;
/* rgb */ color: rgb(207, 190, 71);
/* oklch */ color: oklch(79.4% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#e1d180',
    500: '#cfbe47',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe47;
$custom-light: #e1d180;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe47",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 71
  },
  "hsl": {
    "h": 52.5,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79394,
    "c": 0.13811,
    "h": 101.1
  },
  "luminance": 0.50547
}

Semantic roles & 50–950 ramp

primary
#CFBE47
secondary
#374083
accent
#59E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE47

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

Preview Lab → · Contrast checker → · Palette generator →

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