#CFBA5D#CFBA5D

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

Color values

HEX#CFBA5D
RGBrgb(207, 186, 93)
HSLhsl(49, 54%, 59%)
HSVhsv(49, 55%, 81%)
CMYKcmyk(0%, 10.1%, 55.1%, 18.8%)
CIE-LABlab(75.56, -4.19, 49.20)
CIE-LCHlch(75.56, 49.38, 94.86°)
OKLaboklab(78.79% -0.0138 0.1153)
OKLCHoklch(78.79% 0.116 96.8)
XYZxyz(45.2685, 49.1755, 17.4611)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA5D #5D72CF
analogous
#CF815D #CFBA5D #ABCF5D
triadic
#CFBA5D #5DCFBA #BA5DCF
tetradic
#CFBA5D #5DCF81 #5D72CF #CF5DAB
square
#CFBA5D #5DCF81 #5D72CF #CF5DAB
split-complementary
#CFBA5D #5DABCF #815DCF
monochromatic
#897729 #B8A037 #CFBA5D #DDCE8C #EBE2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA5D#FFFFFF#000000##000000
##CFBA5D1.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)
#CAB654
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba5d;
/* rgb */ color: rgb(207, 186, 93);
/* oklch */ color: oklch(78.8% 0.116 96.8);
Tailwind
colors: {
  custom: {
    50: '#e0ce8d',
    500: '#cfba5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfba5d;
$custom-light: #e0ce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba5d",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 48.947,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78791,
    "c": 0.11615,
    "h": 96.8
  },
  "luminance": 0.49174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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