#CFBA46#CFBA46

#CFBA46 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.136 H 98.9°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CFBA46
RGBrgb(207, 186, 70)
HSLhsl(51, 59%, 54%)
HSVhsv(51, 66%, 81%)
CMYKcmyk(0%, 10.1%, 66.2%, 18.8%)
CIE-LABlab(75.34, -5.77, 59.31)
CIE-LCHlch(75.34, 59.59, 95.56°)
OKLaboklab(78.55% -0.021 0.1339)
OKLCHoklch(78.55% 0.136 98.9)
XYZxyz(44.3985, 48.8275, 12.8792)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA46 #465BCF
analogous
#CF7646 #CFBA46 #A0CF46
triadic
#CFBA46 #46CFBA #BA46CF
tetradic
#CFBA46 #46CF76 #465BCF #CF46A0
square
#CFBA46 #46CF76 #465BCF #CF46A0
split-complementary
#CFBA46 #46A0CF #7646CF
monochromatic
#7B6D20 #AB982C #CFBA46 #DCCC77 #E8DEA7

Accessibility & contrast

On white

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

On black

10.76
#CFBA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA46
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA46#FFFFFF#000000##000000
##CFBA461.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB537
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#DFADA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba46;
/* rgb */ color: rgb(207, 186, 70);
/* oklch */ color: oklch(78.5% 0.136 98.9);
Tailwind
colors: {
  custom: {
    50: '#e1ce7f',
    500: '#cfba46',
    950: '#000000',
  },
}
SCSS
$custom: #cfba46;
$custom-light: #e1ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba46",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 50.803,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7855,
    "c": 0.13552,
    "h": 98.9
  },
  "luminance": 0.48825
}

Semantic roles & 50–950 ramp

primary
#CFBA46
secondary
#9BA4D5
accent
#5EE246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBA46

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

Preview Lab → · Contrast checker → · Palette generator →

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