#CFBD42#CFBD42

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

Color values

HEX#CFBD42
RGBrgb(207, 189, 66)
HSLhsl(52, 59%, 54%)
HSVhsv(52, 68%, 81%)
CMYKcmyk(0%, 8.7%, 68.1%, 18.8%)
CIE-LABlab(76.10, -7.55, 61.73)
CIE-LCHlch(76.10, 62.19, 96.97°)
OKLaboklab(79.14% -0.0265 0.1383)
OKLCHoklch(79.14% 0.141 100.9)
XYZxyz(44.9151, 50.0559, 12.4491)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD42 #4254CF
analogous
#CF7642 #CFBD42 #9BCF42
triadic
#CFBD42 #42CFBD #BD42CF
tetradic
#CFBD42 #42CF76 #4254CF #CF429B
square
#CFBD42 #42CF76 #4254CF #CF429B
split-complementary
#CFBD42 #429BCF #7642CF
monochromatic
#786D1F #A9992B #CFBD42 #DBCE73 #E8DFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBD42#FFFFFF#000000##000000
##CFBD421.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)
#CEB831
Deuteranopia (green-blind)
#D3BF49
Tritanopia (blue-blind)
#DFB0A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd42;
/* rgb */ color: rgb(207, 189, 66);
/* oklch */ color: oklch(79.1% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#e1d07d',
    500: '#cfbd42',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd42;
$custom-light: #e1d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd42",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 52.34,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79143,
    "c": 0.14085,
    "h": 100.9
  },
  "luminance": 0.50054
}

Semantic roles & 50–950 ramp

primary
#CFBD42
secondary
#353F80
accent
#59E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130A
muted
#84837D

Preview Lab

Preview with #CFBD42

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

Preview Lab → · Contrast checker → · Palette generator →

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