#CFB956#CFB956

#CFB956 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.122 H 96.9°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CFB956
RGBrgb(207, 185, 86)
HSLhsl(49, 56%, 57%)
HSVhsv(49, 58%, 81%)
CMYKcmyk(0%, 10.6%, 58.5%, 18.8%)
CIE-LABlab(75.23, -4.20, 52.11)
CIE-LCHlch(75.23, 52.28, 94.61°)
OKLaboklab(78.5% -0.0147 0.1208)
OKLCHoklch(78.5% 0.122 96.9)
XYZxyz(44.7626, 48.6372, 15.8324)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB956 #566CCF
analogous
#CF7D56 #CFB956 #A8CF56
triadic
#CFB956 #56CFB9 #B956CF
tetradic
#CFB956 #56CF7D #566CCF #CF56A8
square
#CFB956 #56CF7D #566CCF #CF56A8
split-complementary
#CFB956 #56A8CF #7D56CF
monochromatic
#857426 #B59D33 #CFB956 #DDCD86 #EAE0B5

Accessibility & contrast

On white

1.96
#CFB956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CFB956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB956
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB956#FFFFFF#000000##000000
##CFB9561.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb956;
/* rgb */ color: rgb(207, 185, 86);
/* oklch */ color: oklch(78.5% 0.122 96.9);
Tailwind
colors: {
  custom: {
    50: '#e0cd89',
    500: '#cfb956',
    950: '#000000',
  },
}
SCSS
$custom: #cfb956;
$custom-light: #e0cd89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb956",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 86
  },
  "hsl": {
    "h": 49.091,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78502,
    "c": 0.12171,
    "h": 96.9
  },
  "luminance": 0.48635
}

Semantic roles & 50–950 ramp

primary
#CFB956
secondary
#A8B1D9
accent
#64DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB956

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

Preview Lab → · Contrast checker → · Palette generator →

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