#CFBD46#CFBD46

#CFBD46 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.138 H 100.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CFBD46
RGBrgb(207, 189, 70)
HSLhsl(52, 59%, 54%)
HSVhsv(52, 66%, 81%)
CMYKcmyk(0%, 8.7%, 66.2%, 18.8%)
CIE-LABlab(76.13, -7.32, 60.14)
CIE-LCHlch(76.13, 60.58, 96.94°)
OKLaboklab(79.18% -0.0255 0.1356)
OKLCHoklch(79.18% 0.138 100.6)
XYZxyz(45.0371, 50.1047, 13.0921)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD46 #4658CF
analogous
#CF7946 #CFBD46 #9DCF46
triadic
#CFBD46 #46CFBD #BD46CF
tetradic
#CFBD46 #46CF79 #4658CF #CF469D
square
#CFBD46 #46CF79 #4658CF #CF469D
split-complementary
#CFBD46 #469DCF #7946CF
monochromatic
#7B6F20 #AB9B2C #CFBD46 #DCCE77 #E8E0A7

Accessibility & contrast

On white

1.91
#CFBD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#CFBD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD46
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD46#FFFFFF#000000##000000
##CFBD461.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB836
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#DEB0A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd46;
/* rgb */ color: rgb(207, 189, 70);
/* oklch */ color: oklch(79.2% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#e1d07f',
    500: '#cfbd46',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd46;
$custom-light: #e1d07f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd46",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 70
  },
  "hsl": {
    "h": 52.117,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79176,
    "c": 0.13799,
    "h": 100.6
  },
  "luminance": 0.50103
}

Semantic roles & 50–950 ramp

primary
#CFBD46
secondary
#364183
accent
#5AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130A
muted
#84837D

Preview Lab

Preview with #CFBD46

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

Preview Lab → · Contrast checker → · Palette generator →

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