#CFBA5F#CFBA5F

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

Color values

HEX#CFBA5F
RGBrgb(207, 186, 95)
HSLhsl(49, 54%, 59%)
HSVhsv(49, 54%, 81%)
CMYKcmyk(0%, 10.1%, 54.1%, 18.8%)
CIE-LABlab(75.58, -4.02, 48.27)
CIE-LCHlch(75.58, 48.44, 94.76°)
OKLaboklab(78.82% -0.0131 0.1135)
OKLCHoklch(78.82% 0.114 96.6)
XYZxyz(45.3582, 49.2113, 17.9338)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA5F #5F74CF
analogous
#CF825F #CFBA5F #ACCF5F
triadic
#CFBA5F #5FCFBA #BA5FCF
tetradic
#CFBA5F #5FCF82 #5F74CF #CF5FAC
square
#CFBA5F #5FCF82 #5F74CF #CF5FAC
split-complementary
#CFBA5F #5FACCF #825FCF
monochromatic
#8A7829 #B9A138 #CFBA5F #DDCE8E #EBE3BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA5F#FFFFFF#000000##000000
##CFBA5F1.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)
#CAB657
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba5f;
/* rgb */ color: rgb(207, 186, 95);
/* oklch */ color: oklch(78.8% 0.114 96.6);
Tailwind
colors: {
  custom: {
    50: '#e0ce8f',
    500: '#cfba5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfba5f;
$custom-light: #e0ce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba5f",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 48.75,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78816,
    "c": 0.11426,
    "h": 96.6
  },
  "luminance": 0.49209
}

Semantic roles & 50–950 ramp

primary
#CFBA5F
secondary
#AFB7DB
accent
#66DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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