#CFBA66#CFBA66

#CFBA66 is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.107 H 95.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CFBA66
RGBrgb(207, 186, 102)
HSLhsl(48, 52%, 61%)
HSVhsv(48, 51%, 81%)
CMYKcmyk(0%, 10.1%, 50.7%, 18.8%)
CIE-LABlab(75.67, -3.43, 44.95)
CIE-LCHlch(75.67, 45.08, 94.36°)
OKLaboklab(78.91% -0.0106 0.1069)
OKLCHoklch(78.91% 0.107 95.7)
XYZxyz(45.6908, 49.3444, 19.6855)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA66 #667BCF
analogous
#CF8566 #CFBA66 #AFCF66
triadic
#CFBA66 #66CFBA #BA66CF
tetradic
#CFBA66 #66CF85 #667BCF #CF66AF
square
#CFBA66 #66CF85 #667BCF #CF66AF
split-complementary
#CFBA66 #66AFCF #8566CF
monochromatic
#8E7B2D #BDA33B #CFBA66 #DECF95 #ECE4C3

Accessibility & contrast

On white

1.93
#CFBA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#CFBA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA66
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA66#FFFFFF#000000##000000
##CFBA661.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B75F
Deuteranopia (green-blind)
#CFBD69
Tritanopia (blue-blind)
#DDAFA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba66;
/* rgb */ color: rgb(207, 186, 102);
/* oklch */ color: oklch(78.9% 0.107 95.7);
Tailwind
colors: {
  custom: {
    50: '#e0ce93',
    500: '#cfba66',
    950: '#000000',
  },
}
SCSS
$custom: #cfba66;
$custom-light: #e0ce93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba66",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 102
  },
  "hsl": {
    "h": 48,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.78907,
    "c": 0.10741,
    "h": 95.7
  },
  "luminance": 0.49343
}

Semantic roles & 50–950 ramp

primary
#CFBA66
secondary
#B4BCDC
accent
#45C026
background
#FEFCF9
surface
#FCF9F1
border
#D5D2CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CFBA66

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

Preview Lab → · Contrast checker → · Palette generator →

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