#CFBA5A#CFBA5A

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

Color values

HEX#CFBA5A
RGBrgb(207, 186, 90)
HSLhsl(49, 55%, 58%)
HSVhsv(49, 57%, 81%)
CMYKcmyk(0%, 10.1%, 56.5%, 18.8%)
CIE-LABlab(75.53, -4.42, 50.59)
CIE-LCHlch(75.53, 50.78, 94.99°)
OKLaboklab(78.76% -0.0148 0.118)
OKLCHoklch(78.76% 0.119 97.2)
XYZxyz(45.1382, 49.1233, 16.7750)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA5A #5A6FCF
analogous
#CF7F5A #CFBA5A #A9CF5A
triadic
#CFBA5A #5ACFBA #BA5ACF
tetradic
#CFBA5A #5ACF7F #5A6FCF #CF5AA9
square
#CFBA5A #5ACF7F #5A6FCF #CF5AA9
split-complementary
#CFBA5A #5AA9CF #7F5ACF
monochromatic
#877627 #B79F35 #CFBA5A #DDCE89 #EBE2B9

Accessibility & contrast

On white

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

On black

10.82
#CFBA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA5A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA5A#FFFFFF#000000##000000
##CFBA5A1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB651
Deuteranopia (green-blind)
#D0BD5E
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba5a;
/* rgb */ color: rgb(207, 186, 90);
/* oklch */ color: oklch(78.8% 0.119 97.2);
Tailwind
colors: {
  custom: {
    50: '#e0ce8b',
    500: '#cfba5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfba5a;
$custom-light: #e0ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba5a",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 90
  },
  "hsl": {
    "h": 49.231,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78755,
    "c": 0.11893,
    "h": 97.2
  },
  "luminance": 0.49121
}

Semantic roles & 50–950 ramp

primary
#CFBA5A
secondary
#ABB3DA
accent
#64DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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