#CFBA3F#CFBA3F

#CFBA3F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.140 H 99.4°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CFBA3F
RGBrgb(207, 186, 63)
HSLhsl(51, 60%, 53%)
HSVhsv(51, 70%, 81%)
CMYKcmyk(0%, 10.1%, 69.6%, 18.8%)
CIE-LABlab(75.29, -6.15, 62.09)
CIE-LCHlch(75.29, 62.40, 95.66°)
OKLaboklab(78.49% -0.0229 0.1386)
OKLCHoklch(78.49% 0.14 99.4)
XYZxyz(44.1903, 48.7442, 11.7826)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA3F #3F54CF
analogous
#CF723F #CFBA3F #9CCF3F
triadic
#CFBA3F #3FCFBA #BA3FCF
tetradic
#CFBA3F #3FCF72 #3F54CF #CF3F9C
square
#CFBA3F #3FCF72 #3F54CF #CF3F9C
split-complementary
#CFBA3F #3F9CCF #723FCF
monochromatic
#76691E #A7952A #CFBA3F #DBCC70 #E7DDA1

Accessibility & contrast

On white

1.95
#CFBA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CFBA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA3F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA3F#FFFFFF#000000##000000
##CFBA3F1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52D
Deuteranopia (green-blind)
#D1BD46
Tritanopia (blue-blind)
#DFADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfba3f;
/* rgb */ color: rgb(207, 186, 63);
/* oklch */ color: oklch(78.5% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#e1ce7b',
    500: '#cfba3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfba3f;
$custom-light: #e1ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba3f",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 51.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78492,
    "c": 0.14047,
    "h": 99.4
  },
  "luminance": 0.48742
}

Semantic roles & 50–950 ramp

primary
#CFBA3F
secondary
#969FD4
accent
#5CE345
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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