#CFBA49#CFBA49

#CFBA49 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.133 H 98.7°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CFBA49
RGBrgb(207, 186, 73)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 65%, 81%)
CMYKcmyk(0%, 10.1%, 64.7%, 18.8%)
CIE-LABlab(75.37, -5.59, 58.07)
CIE-LCHlch(75.37, 58.34, 95.50°)
OKLaboklab(78.58% -0.0202 0.1317)
OKLCHoklch(78.58% 0.133 98.7)
XYZxyz(44.4956, 48.8663, 13.3904)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA49 #495ECF
analogous
#CF7749 #CFBA49 #A1CF49
triadic
#CFBA49 #49CFBA #BA49CF
tetradic
#CFBA49 #49CF77 #495ECF #CF49A1
square
#CFBA49 #49CF77 #495ECF #CF49A1
split-complementary
#CFBA49 #49A1CF #7749CF
monochromatic
#7D6E21 #AD992E #CFBA49 #DCCC79 #E9DFAA

Accessibility & contrast

On white

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

On black

10.77
#CFBA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA49
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA49#FFFFFF#000000##000000
##CFBA491.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53B
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#DEADA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba49;
/* rgb */ color: rgb(207, 186, 73);
/* oklch */ color: oklch(78.6% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#e1ce81',
    500: '#cfba49',
    950: '#000000',
  },
}
SCSS
$custom: #cfba49;
$custom-light: #e1ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba49",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 50.597,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78577,
    "c": 0.13327,
    "h": 98.7
  },
  "luminance": 0.48864
}

Semantic roles & 50–950 ramp

primary
#CFBA49
secondary
#9EA7D6
accent
#5FE146
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA49

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

Preview Lab → · Contrast checker → · Palette generator →

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