#CFBD45#CFBD45

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

Color values

HEX#CFBD45
RGBrgb(207, 189, 69)
HSLhsl(52, 59%, 54%)
HSVhsv(52, 67%, 81%)
CMYKcmyk(0%, 8.7%, 66.7%, 18.8%)
CIE-LABlab(76.13, -7.38, 60.54)
CIE-LCHlch(76.13, 60.99, 96.95°)
OKLaboklab(79.17% -0.0257 0.1363)
OKLCHoklch(79.17% 0.139 100.7)
XYZxyz(45.0058, 50.0922, 12.9272)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD45 #4557CF
analogous
#CF7845 #CFBD45 #9CCF45
triadic
#CFBD45 #45CFBD #BD45CF
tetradic
#CFBD45 #45CF78 #4557CF #CF459C
square
#CFBD45 #45CF78 #4557CF #CF459C
split-complementary
#CFBD45 #459CCF #7845CF
monochromatic
#7A6E20 #AB9A2C #CFBD45 #DCCE76 #E8E0A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBD45#FFFFFF#000000##000000
##CFBD451.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)
#CEB835
Deuteranopia (green-blind)
#D3BF4C
Tritanopia (blue-blind)
#DEB0A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd45;
/* rgb */ color: rgb(207, 189, 69);
/* oklch */ color: oklch(79.2% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#e1d07f',
    500: '#cfbd45',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd45;
$custom-light: #e1d07f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd45",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 69
  },
  "hsl": {
    "h": 52.174,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79167,
    "c": 0.13872,
    "h": 100.7
  },
  "luminance": 0.5009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBD45

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

Preview Lab → · Contrast checker → · Palette generator →

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