#CFBB42#CFBB42

#CFBB42 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.139 H 99.8°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CFBB42
RGBrgb(207, 187, 66)
HSLhsl(51, 59%, 54%)
HSVhsv(51, 68%, 81%)
CMYKcmyk(0%, 9.7%, 68.1%, 18.8%)
CIE-LABlab(75.58, -6.51, 61.19)
CIE-LCHlch(75.58, 61.54, 96.08°)
OKLaboklab(78.72% -0.0236 0.1372)
OKLCHoklch(78.72% 0.139 99.8)
XYZxyz(44.4878, 49.2014, 12.3067)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB42 #4256CF
analogous
#CF7442 #CFBB42 #9DCF42
triadic
#CFBB42 #42CFBB #BB42CF
tetradic
#CFBB42 #42CF74 #4256CF #CF429D
square
#CFBB42 #42CF74 #4256CF #CF429D
split-complementary
#CFBB42 #429DCF #7442CF
monochromatic
#786B1F #A9972B #CFBB42 #DBCD73 #E8DEA4

Accessibility & contrast

On white

1.94
#CFBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CFBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB42
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB42#FFFFFF#000000##000000
##CFBB421.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#DFAEA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfbb42;
/* rgb */ color: rgb(207, 187, 66);
/* oklch */ color: oklch(78.7% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#e1cf7d',
    500: '#cfbb42',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb42;
$custom-light: #e1cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb42",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 51.489,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78724,
    "c": 0.1392,
    "h": 99.8
  },
  "luminance": 0.49199
}

Semantic roles & 50–950 ramp

primary
#CFBB42
secondary
#98A1D5
accent
#5BE345
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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