#CFBD40#CFBD40

#CFBD40 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.1% C 0.142 H 101.0°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CFBD40
RGBrgb(207, 189, 64)
HSLhsl(52, 60%, 53%)
HSVhsv(52, 69%, 81%)
CMYKcmyk(0%, 8.7%, 69.1%, 18.8%)
CIE-LABlab(76.09, -7.65, 62.50)
CIE-LCHlch(76.09, 62.97, 96.98°)
OKLaboklab(79.13% -0.027 0.1396)
OKLCHoklch(79.13% 0.142 101)
XYZxyz(44.8571, 50.0327, 12.1440)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD40 #4052CF
analogous
#CF7640 #CFBD40 #99CF40
triadic
#CFBD40 #40CFBD #BD40CF
tetradic
#CFBD40 #40CF76 #4052CF #CF4099
square
#CFBD40 #40CF76 #4052CF #CF4099
split-complementary
#CFBD40 #4099CF #7640CF
monochromatic
#776C1E #A8982A #CFBD40 #DBCE71 #E8DFA2

Accessibility & contrast

On white

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

On black

11.01
#CFBD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD40
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD40#FFFFFF#000000##000000
##CFBD401.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB82E
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#DFB0A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd40;
/* rgb */ color: rgb(207, 189, 64);
/* oklch */ color: oklch(79.1% 0.142 101.0);
Tailwind
colors: {
  custom: {
    50: '#e1d07c',
    500: '#cfbd40',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd40;
$custom-light: #e1d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd40",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 52.448,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79127,
    "c": 0.14223,
    "h": 101
  },
  "luminance": 0.50031
}

Semantic roles & 50–950 ramp

primary
#CFBD40
secondary
#343E7F
accent
#59E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130A
muted
#84837D

Preview Lab

Preview with #CFBD40

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

Preview Lab → · Contrast checker → · Palette generator →

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