#CFBB45#CFBB45

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

Color values

HEX#CFBB45
RGBrgb(207, 187, 69)
HSLhsl(51, 59%, 54%)
HSVhsv(51, 67%, 81%)
CMYKcmyk(0%, 9.7%, 66.7%, 18.8%)
CIE-LABlab(75.60, -6.35, 59.99)
CIE-LCHlch(75.60, 60.33, 96.04°)
OKLaboklab(78.75% -0.0228 0.1352)
OKLCHoklch(78.75% 0.137 99.6)
XYZxyz(44.5786, 49.2377, 12.7848)
Luminance0.4924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB45 #4559CF
analogous
#CF7645 #CFBB45 #9ECF45
triadic
#CFBB45 #45CFBB #BB45CF
tetradic
#CFBB45 #45CF76 #4559CF #CF459E
square
#CFBB45 #45CF76 #4559CF #CF459E
split-complementary
#CFBB45 #459ECF #7645CF
monochromatic
#7A6D20 #AB982C #CFBB45 #DCCD76 #E8DFA6

Accessibility & contrast

On white

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

On black

10.85
#CFBB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB45
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB45#FFFFFF#000000##000000
##CFBB451.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB636
Deuteranopia (green-blind)
#D2BD4C
Tritanopia (blue-blind)
#DFAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfbb45;
/* rgb */ color: rgb(207, 187, 69);
/* oklch */ color: oklch(78.7% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#e1cf7f',
    500: '#cfbb45',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb45;
$custom-light: #e1cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb45",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 51.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78749,
    "c": 0.13707,
    "h": 99.6
  },
  "luminance": 0.49236
}

Semantic roles & 50–950 ramp

primary
#CFBB45
secondary
#9BA3D5
accent
#5CE246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBB45

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

Preview Lab → · Contrast checker → · Palette generator →

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