#CFBC45#CFBC45

#CFBC45 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.138 H 100.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CFBC45
RGBrgb(207, 188, 69)
HSLhsl(52, 59%, 54%)
HSVhsv(52, 67%, 81%)
CMYKcmyk(0%, 9.2%, 66.7%, 18.8%)
CIE-LABlab(75.86, -6.86, 60.27)
CIE-LCHlch(75.86, 60.66, 96.50°)
OKLaboklab(78.96% -0.0243 0.1357)
OKLCHoklch(78.96% 0.138 100.1)
XYZxyz(44.7915, 49.6635, 12.8557)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC45 #4558CF
analogous
#CF7745 #CFBC45 #9DCF45
triadic
#CFBC45 #45CFBC #BC45CF
tetradic
#CFBC45 #45CF77 #4558CF #CF459D
square
#CFBC45 #45CF77 #4558CF #CF459D
split-complementary
#CFBC45 #459DCF #7745CF
monochromatic
#7A6E20 #AB992C #CFBC45 #DCCE76 #E8DFA6

Accessibility & contrast

On white

1.92
#CFBC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CFBC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC45
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC45#FFFFFF#000000##000000
##CFBC451.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#DEAFA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc45;
/* rgb */ color: rgb(207, 188, 69);
/* oklch */ color: oklch(79.0% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#e1cf7f',
    500: '#cfbc45',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc45;
$custom-light: #e1cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc45",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 51.739,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78958,
    "c": 0.13789,
    "h": 100.1
  },
  "luminance": 0.49662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBC45

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

Preview Lab → · Contrast checker → · Palette generator →

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