#CFBA4D#CFBA4D

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

Color values

HEX#CFBA4D
RGBrgb(207, 186, 77)
HSLhsl(50, 58%, 56%)
HSVhsv(50, 63%, 81%)
CMYKcmyk(0%, 10.1%, 62.8%, 18.8%)
CIE-LABlab(75.40, -5.34, 56.38)
CIE-LCHlch(75.40, 56.63, 95.41°)
OKLaboklab(78.61% -0.019 0.1287)
OKLCHoklch(78.61% 0.13 98.4)
XYZxyz(44.6325, 48.9210, 14.1115)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA4D #4D62CF
analogous
#CF794D #CFBA4D #A3CF4D
triadic
#CFBA4D #4DCFBA #BA4DCF
tetradic
#CFBA4D #4DCF79 #4D62CF #CF4DA3
square
#CFBA4D #4DCF79 #4D62CF #CF4DA3
split-complementary
#CFBA4D #4DA3CF #794DCF
monochromatic
#7F7022 #AF9B2F #CFBA4D #DCCD7D #E9DFAD

Accessibility & contrast

On white

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

On black

10.78
#CFBA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA4D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA4D#FFFFFF#000000##000000
##CFBA4D1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB540
Deuteranopia (green-blind)
#D1BD53
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba4d;
/* rgb */ color: rgb(207, 186, 77);
/* oklch */ color: oklch(78.6% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#e1ce83',
    500: '#cfba4d',
    950: '#000000',
  },
}
SCSS
$custom: #cfba4d;
$custom-light: #e1ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba4d",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 50.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78615,
    "c": 0.13011,
    "h": 98.4
  },
  "luminance": 0.48919
}

Semantic roles & 50–950 ramp

primary
#CFBA4D
secondary
#A1AAD7
accent
#60E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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