#CFBA56#CFBA56

#CFBA56 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.123 H 97.6°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CFBA56
RGBrgb(207, 186, 86)
HSLhsl(50, 56%, 57%)
HSVhsv(50, 58%, 81%)
CMYKcmyk(0%, 10.1%, 58.5%, 18.8%)
CIE-LABlab(75.49, -4.72, 52.41)
CIE-LCHlch(75.49, 52.62, 95.15°)
OKLaboklab(78.71% -0.0162 0.1215)
OKLCHoklch(78.71% 0.123 97.6)
XYZxyz(44.9725, 49.0571, 15.9024)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA56 #566BCF
analogous
#CF7E56 #CFBA56 #A7CF56
triadic
#CFBA56 #56CFBA #BA56CF
tetradic
#CFBA56 #56CF7E #566BCF #CF56A7
square
#CFBA56 #56CF7E #566BCF #CF56A7
split-complementary
#CFBA56 #56A7CF #7E56CF
monochromatic
#857426 #B59E33 #CFBA56 #DDCD86 #EAE1B5

Accessibility & contrast

On white

1.94
#CFBA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CFBA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA56
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA56#FFFFFF#000000##000000
##CFBA561.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64C
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba56;
/* rgb */ color: rgb(207, 186, 86);
/* oklch */ color: oklch(78.7% 0.123 97.6);
Tailwind
colors: {
  custom: {
    50: '#e0ce89',
    500: '#cfba56',
    950: '#000000',
  },
}
SCSS
$custom: #cfba56;
$custom-light: #e0ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba56",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 49.587,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78709,
    "c": 0.12252,
    "h": 97.6
  },
  "luminance": 0.49055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBA56

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

Preview Lab → · Contrast checker → · Palette generator →

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