#CFBA50#CFBA50

#CFBA50 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.6% C 0.128 H 98.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CFBA50
RGBrgb(207, 186, 80)
HSLhsl(50, 57%, 56%)
HSVhsv(50, 61%, 81%)
CMYKcmyk(0%, 10.1%, 61.4%, 18.8%)
CIE-LABlab(75.43, -5.14, 55.08)
CIE-LCHlch(75.43, 55.32, 95.33°)
OKLaboklab(78.65% -0.0181 0.1264)
OKLCHoklch(78.65% 0.128 98.1)
XYZxyz(44.7408, 48.9644, 14.6823)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA50 #5065CF
analogous
#CF7B50 #CFBA50 #A5CF50
triadic
#CFBA50 #50CFBA #BA50CF
tetradic
#CFBA50 #50CF7B #5065CF #CF50A5
square
#CFBA50 #50CF7B #5065CF #CF50A5
split-complementary
#CFBA50 #50A5CF #7B50CF
monochromatic
#817223 #B19C31 #CFBA50 #DCCD80 #E9E0B0

Accessibility & contrast

On white

1.95
#CFBA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CFBA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA50
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA50#FFFFFF#000000##000000
##CFBA501.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB644
Deuteranopia (green-blind)
#D0BD55
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba50;
/* rgb */ color: rgb(207, 186, 80);
/* oklch */ color: oklch(78.6% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#e1ce85',
    500: '#cfba50',
    950: '#000000',
  },
}
SCSS
$custom: #cfba50;
$custom-light: #e1ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba50",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 50.079,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78645,
    "c": 0.12767,
    "h": 98.1
  },
  "luminance": 0.48962
}

Semantic roles & 50–950 ramp

primary
#CFBA50
secondary
#A3ACD8
accent
#61E048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA50

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

Preview Lab → · Contrast checker → · Palette generator →

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