#CFBA7A#CFBA7A

#CFBA7A is a light, moderate yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.086 H 92.0°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#CFBA7A
RGBrgb(207, 186, 122)
HSLhsl(45, 47%, 65%)
HSVhsv(45, 41%, 81%)
CMYKcmyk(0%, 10.1%, 41.1%, 18.8%)
CIE-LABlab(75.94, -1.45, 35.15)
CIE-LCHlch(75.94, 35.18, 92.37°)
OKLaboklab(79.21% -0.003 0.0862)
OKLCHoklch(79.21% 0.086 92)
XYZxyz(46.8050, 49.7901, 25.5535)
Luminance0.4979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA7A #7A8FCF
analogous
#CF907A #CFBA7A #BACF7A
triadic
#CFBA7A #7ACFBA #BA7ACF
tetradic
#CFBA7A #7ACF90 #7A8FCF #CF7ABA
square
#CFBA7A #7ACF90 #7A8FCF #CF7ABA
split-complementary
#CFBA7A #7ABACF #907ACF
monochromatic
#988037 #BFA34D #CFBA7A #DFD1A7 #EFE9D4

Accessibility & contrast

On white

1.92
#CFBA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#CFBA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA7A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA7A#FFFFFF#000000##000000
##CFBA7A1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B875
Deuteranopia (green-blind)
#CDBE7C
Tritanopia (blue-blind)
#DBB0AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfba7a;
/* rgb */ color: rgb(207, 186, 122);
/* oklch */ color: oklch(79.2% 0.086 92.0);
Tailwind
colors: {
  custom: {
    50: '#dfcea1',
    500: '#cfba7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfba7a;
$custom-light: #dfcea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba7a",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 122
  },
  "hsl": {
    "h": 45.176,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.79214,
    "c": 0.0862,
    "h": 92
  },
  "luminance": 0.49788
}

Semantic roles & 50–950 ramp

primary
#CFBA7A
secondary
#C4CBE1
accent
#4FBA2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CFBA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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