#CFBA5E#CFBA5E

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

Color values

HEX#CFBA5E
RGBrgb(207, 186, 94)
HSLhsl(49, 54%, 59%)
HSVhsv(49, 55%, 81%)
CMYKcmyk(0%, 10.1%, 54.6%, 18.8%)
CIE-LABlab(75.57, -4.10, 48.74)
CIE-LCHlch(75.57, 48.91, 94.81°)
OKLaboklab(78.8% -0.0135 0.1144)
OKLCHoklch(78.8% 0.115 96.7)
XYZxyz(45.3131, 49.1933, 17.6959)
Luminance0.4919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA5E #5E73CF
analogous
#CF825E #CFBA5E #ABCF5E
triadic
#CFBA5E #5ECFBA #BA5ECF
tetradic
#CFBA5E #5ECF82 #5E73CF #CF5EAB
square
#CFBA5E #5ECF82 #5E73CF #CF5EAB
split-complementary
#CFBA5E #5EABCF #825ECF
monochromatic
#8A7829 #B9A137 #CFBA5E #DDCE8D #EBE2BC

Accessibility & contrast

On white

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

On black

10.84
#CFBA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA5E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA5E#FFFFFF#000000##000000
##CFBA5E1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB655
Deuteranopia (green-blind)
#CFBD62
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba5e;
/* rgb */ color: rgb(207, 186, 94);
/* oklch */ color: oklch(78.8% 0.115 96.7);
Tailwind
colors: {
  custom: {
    50: '#e0ce8e',
    500: '#cfba5e',
    950: '#000000',
  },
}
SCSS
$custom: #cfba5e;
$custom-light: #e0ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba5e",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 94
  },
  "hsl": {
    "h": 48.85,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78803,
    "c": 0.11521,
    "h": 96.7
  },
  "luminance": 0.49191
}

Semantic roles & 50–950 ramp

primary
#CFBA5E
secondary
#AEB6DB
accent
#66DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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