#CFBF4A#CFBF4A

#CFBF4A is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.137 H 101.5°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CFBF4A
RGBrgb(207, 191, 74)
HSLhsl(53, 58%, 55%)
HSVhsv(53, 64%, 81%)
CMYKcmyk(0%, 7.7%, 64.3%, 18.8%)
CIE-LABlab(76.69, -8.11, 59.05)
CIE-LCHlch(76.69, 59.61, 97.82°)
OKLaboklab(79.63% -0.0273 0.134)
OKLCHoklch(79.63% 0.137 101.5)
XYZxyz(45.6008, 51.0233, 13.9237)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF4A #4A5ACF
analogous
#CF7C4A #CFBF4A #9CCF4A
triadic
#CFBF4A #4ACFBF #BF4ACF
tetradic
#CFBF4A #4ACF7C #4A5ACF #CF4A9C
square
#CFBF4A #4ACF7C #4A5ACF #CF4A9C
split-complementary
#CFBF4A #4A9CCF #7C4ACF
monochromatic
#7D7221 #AE9E2E #CFBF4A #DCD07A #E9E1AB

Accessibility & contrast

On white

1.87
#CFBF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CFBF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF4A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF4A#FFFFFF#000000##000000
##CFBF4A1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B93C
Deuteranopia (green-blind)
#D5C051
Tritanopia (blue-blind)
#DEB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf4a;
/* rgb */ color: rgb(207, 191, 74);
/* oklch */ color: oklch(79.6% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#e1d282',
    500: '#cfbf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf4a;
$custom-light: #e1d282;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf4a",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 52.782,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7963,
    "c": 0.1367,
    "h": 101.5
  },
  "luminance": 0.51021
}

Semantic roles & 50–950 ramp

primary
#CFBF4A
secondary
#384185
accent
#59E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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