#CFBC4A#CFBC4A

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

Color values

HEX#CFBC4A
RGBrgb(207, 188, 74)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 64%, 81%)
CMYKcmyk(0%, 9.2%, 64.3%, 18.8%)
CIE-LABlab(75.90, -6.57, 58.21)
CIE-LCHlch(75.90, 58.58, 96.44°)
OKLaboklab(79% -0.0228 0.1322)
OKLCHoklch(79% 0.134 99.8)
XYZxyz(44.9533, 49.7282, 13.7079)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC4A #4A5DCF
analogous
#CF7A4A #CFBC4A #9FCF4A
triadic
#CFBC4A #4ACFBC #BC4ACF
tetradic
#CFBC4A #4ACF7A #4A5DCF #CF4A9F
square
#CFBC4A #4ACF7A #4A5DCF #CF4A9F
split-complementary
#CFBC4A #4A9FCF #7A4ACF
monochromatic
#7D7021 #AE9B2E #CFBC4A #DCCE7A #E9E0AB

Accessibility & contrast

On white

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

On black

10.95
#CFBC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC4A
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC4A#FFFFFF#000000##000000
##CFBC4A1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#DEAFA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc4a;
/* rgb */ color: rgb(207, 188, 74);
/* oklch */ color: oklch(79.0% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#e1cf82',
    500: '#cfbc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc4a;
$custom-light: #e1cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc4a",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 74
  },
  "hsl": {
    "h": 51.429,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79003,
    "c": 0.13414,
    "h": 99.8
  },
  "luminance": 0.49726
}

Semantic roles & 50–950 ramp

primary
#CFBC4A
secondary
#9FA6D6
accent
#5DE146
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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