#CFB456#CFB456

#CFB456 is a light, moderate yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.118 H 93.5°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CFB456
RGBrgb(207, 180, 86)
HSLhsl(47, 56%, 57%)
HSVhsv(47, 58%, 81%)
CMYKcmyk(0%, 13%, 58.5%, 18.8%)
CIE-LABlab(73.92, -1.58, 50.63)
CIE-LCHlch(73.92, 50.66, 91.79°)
OKLaboklab(77.47% -0.0071 0.1176)
OKLCHoklch(77.47% 0.118 93.5)
XYZxyz(43.7349, 46.5819, 15.4898)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB456 #5671CF
analogous
#CF7856 #CFB456 #ADCF56
triadic
#CFB456 #56CFB4 #B456CF
tetradic
#CFB456 #56CF78 #5671CF #CF56AD
square
#CFB456 #56CF78 #5671CF #CF56AD
split-complementary
#CFB456 #56ADCF #7856CF
monochromatic
#857026 #B59833 #CFB456 #DDC986 #EADEB5

Accessibility & contrast

On white

2.04
#CFB456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CFB456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB456
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB456#FFFFFF#000000##000000
##CFB4561.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14D
Deuteranopia (green-blind)
#CCB95A
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb456;
/* rgb */ color: rgb(207, 180, 86);
/* oklch */ color: oklch(77.5% 0.118 93.5);
Tailwind
colors: {
  custom: {
    50: '#e0ca89',
    500: '#cfb456',
    950: '#000000',
  },
}
SCSS
$custom: #cfb456;
$custom-light: #e0ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb456",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 46.612,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77471,
    "c": 0.11784,
    "h": 93.5
  },
  "luminance": 0.4658
}

Semantic roles & 50–950 ramp

primary
#CFB456
secondary
#A8B3D9
accent
#6ADF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB456

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

Preview Lab → · Contrast checker → · Palette generator →

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