#CFB556#CFB556

#CFB556 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.119 H 94.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CFB556
RGBrgb(207, 181, 86)
HSLhsl(47, 56%, 57%)
HSVhsv(47, 58%, 81%)
CMYKcmyk(0%, 12.6%, 58.5%, 18.8%)
CIE-LABlab(74.18, -2.11, 50.93)
CIE-LCHlch(74.18, 50.97, 92.37°)
OKLaboklab(77.68% -0.0086 0.1183)
OKLCHoklch(77.68% 0.119 94.2)
XYZxyz(43.9375, 46.9871, 15.5574)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB556 #5670CF
analogous
#CF7856 #CFB556 #ADCF56
triadic
#CFB556 #56CFB5 #B556CF
tetradic
#CFB556 #56CF78 #5670CF #CF56AD
square
#CFB556 #56CF78 #5670CF #CF56AD
split-complementary
#CFB556 #56ADCF #7856CF
monochromatic
#857026 #B59933 #CFB556 #DDCA86 #EADFB5

Accessibility & contrast

On white

2.02
#CFB556 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CFB556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB556
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB556#FFFFFF#000000##000000
##CFB5561.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24D
Deuteranopia (green-blind)
#CCBA5A
Tritanopia (blue-blind)
#DEA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb556;
/* rgb */ color: rgb(207, 181, 86);
/* oklch */ color: oklch(77.7% 0.119 94.2);
Tailwind
colors: {
  custom: {
    50: '#e0ca89',
    500: '#cfb556',
    950: '#000000',
  },
}
SCSS
$custom: #cfb556;
$custom-light: #e0ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb556",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 86
  },
  "hsl": {
    "h": 47.107,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77676,
    "c": 0.11858,
    "h": 94.2
  },
  "luminance": 0.46985
}

Semantic roles & 50–950 ramp

primary
#CFB556
secondary
#A8B2D9
accent
#69DF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB556

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

Preview Lab → · Contrast checker → · Palette generator →

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