#CFBF4C#CFBF4C

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

Color values

HEX#CFBF4C
RGBrgb(207, 191, 76)
HSLhsl(53, 58%, 55%)
HSVhsv(53, 63%, 81%)
CMYKcmyk(0%, 7.7%, 63.3%, 18.8%)
CIE-LABlab(76.71, -7.99, 58.22)
CIE-LCHlch(76.71, 58.77, 97.81°)
OKLaboklab(79.65% -0.0267 0.1325)
OKLCHoklch(79.65% 0.135 101.4)
XYZxyz(45.6693, 51.0507, 14.2842)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF4C #4C5CCF
analogous
#CF7E4C #CFBF4C #9DCF4C
triadic
#CFBF4C #4CCFBF #BF4CCF
tetradic
#CFBF4C #4CCF7E #4C5CCF #CF4C9D
square
#CFBF4C #4CCF7E #4C5CCF #CF4C9D
split-complementary
#CFBF4C #4C9DCF #7E4CCF
monochromatic
#7F7322 #AF9F2F #CFBF4C #DCD07C #E9E2AD

Accessibility & contrast

On white

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

On black

11.21
#CFBF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF4C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF4C#FFFFFF#000000##000000
##CFBF4C1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbf4c;
/* rgb */ color: rgb(207, 191, 76);
/* oklch */ color: oklch(79.6% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#e1d283',
    500: '#cfbf4c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf4c;
$custom-light: #e1d283;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf4c",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 52.672,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79649,
    "c": 0.13515,
    "h": 101.4
  },
  "luminance": 0.51049
}

Semantic roles & 50–950 ramp

primary
#CFBF4C
secondary
#394286
accent
#5AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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