#CFBA55#CFBA55

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

Color values

HEX#CFBA55
RGBrgb(207, 186, 85)
HSLhsl(50, 56%, 57%)
HSVhsv(50, 59%, 81%)
CMYKcmyk(0%, 10.1%, 58.9%, 18.8%)
CIE-LABlab(75.48, -4.79, 52.86)
CIE-LCHlch(75.48, 53.08, 95.18°)
OKLaboklab(78.7% -0.0165 0.1223)
OKLCHoklch(78.7% 0.123 97.7)
XYZxyz(44.9325, 49.0411, 15.6917)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA55 #556ACF
analogous
#CF7D55 #CFBA55 #A7CF55
triadic
#CFBA55 #55CFBA #BA55CF
tetradic
#CFBA55 #55CF7D #556ACF #CF55A7
square
#CFBA55 #55CF7D #556ACF #CF55A7
split-complementary
#CFBA55 #55A7CF #7D55CF
monochromatic
#847425 #B49E33 #CFBA55 #DCCD85 #EAE1B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA55#FFFFFF#000000##000000
##CFBA551.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)
#CAB64B
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba55;
/* rgb */ color: rgb(207, 186, 85);
/* oklch */ color: oklch(78.7% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#e0ce88',
    500: '#cfba55',
    950: '#000000',
  },
}
SCSS
$custom: #cfba55;
$custom-light: #e0ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba55",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 49.672,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78698,
    "c": 0.12341,
    "h": 97.7
  },
  "luminance": 0.49039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBA55

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

Preview Lab → · Contrast checker → · Palette generator →

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