#CFBB56#CFBB56

#CFBB56 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.123 H 98.2°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CFBB56
RGBrgb(207, 187, 86)
HSLhsl(50, 56%, 57%)
HSVhsv(50, 58%, 81%)
CMYKcmyk(0%, 9.7%, 58.5%, 18.8%)
CIE-LABlab(75.75, -5.24, 52.71)
CIE-LCHlch(75.75, 52.97, 95.68°)
OKLaboklab(78.92% -0.0177 0.1221)
OKLCHoklch(78.92% 0.123 98.2)
XYZxyz(45.1839, 49.4799, 15.9728)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB56 #566ACF
analogous
#CF7F56 #CFBB56 #A6CF56
triadic
#CFBB56 #56CFBB #BB56CF
tetradic
#CFBB56 #56CF7F #566ACF #CF56A6
square
#CFBB56 #56CF7F #566ACF #CF56A6
split-complementary
#CFBB56 #56A6CF #7F56CF
monochromatic
#857526 #B59F33 #CFBB56 #DDCE86 #EAE1B5

Accessibility & contrast

On white

1.93
#CFBB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CFBB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB56
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB56#FFFFFF#000000##000000
##CFBB561.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB74C
Deuteranopia (green-blind)
#D1BE5B
Tritanopia (blue-blind)
#DEAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbb56;
/* rgb */ color: rgb(207, 187, 86);
/* oklch */ color: oklch(78.9% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#e0cf89',
    500: '#cfbb56',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb56;
$custom-light: #e0cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb56",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 50.083,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78916,
    "c": 0.12336,
    "h": 98.2
  },
  "luminance": 0.49478
}

Semantic roles & 50–950 ramp

primary
#CFBB56
secondary
#A8B0D9
accent
#62DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBB56

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

Preview Lab → · Contrast checker → · Palette generator →

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