#CFBA5B#CFBA5B

#CFBA5B is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.118 H 97.1°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CFBA5B
RGBrgb(207, 186, 91)
HSLhsl(49, 55%, 58%)
HSVhsv(49, 56%, 81%)
CMYKcmyk(0%, 10.1%, 56%, 18.8%)
CIE-LABlab(75.54, -4.34, 50.13)
CIE-LCHlch(75.54, 50.32, 94.95°)
OKLaboklab(78.77% -0.0145 0.1171)
OKLCHoklch(78.77% 0.118 97.1)
XYZxyz(45.1811, 49.1405, 17.0007)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA5B #5B70CF
analogous
#CF805B #CFBA5B #AACF5B
triadic
#CFBA5B #5BCFBA #BA5BCF
tetradic
#CFBA5B #5BCF80 #5B70CF #CF5BAA
square
#CFBA5B #5BCF80 #5B70CF #CF5BAA
split-complementary
#CFBA5B #5BAACF #805BCF
monochromatic
#887628 #B7A036 #CFBA5B #DDCE8A #EBE2BA

Accessibility & contrast

On white

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

On black

10.83
#CFBA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA5B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA5B#FFFFFF#000000##000000
##CFBA5B1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB652
Deuteranopia (green-blind)
#D0BD5F
Tritanopia (blue-blind)
#DEAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba5b;
/* rgb */ color: rgb(207, 186, 91);
/* oklch */ color: oklch(78.8% 0.118 97.1);
Tailwind
colors: {
  custom: {
    50: '#e0ce8c',
    500: '#cfba5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfba5b;
$custom-light: #e0ce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba5b",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 91
  },
  "hsl": {
    "h": 49.138,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78767,
    "c": 0.11801,
    "h": 97.1
  },
  "luminance": 0.49139
}

Semantic roles & 50–950 ramp

primary
#CFBA5B
secondary
#ACB4DA
accent
#65DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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