#CFBF4B#CFBF4B

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

Color values

HEX#CFBF4B
RGBrgb(207, 191, 75)
HSLhsl(53, 58%, 55%)
HSVhsv(53, 64%, 81%)
CMYKcmyk(0%, 7.7%, 63.8%, 18.8%)
CIE-LABlab(76.70, -8.05, 58.64)
CIE-LCHlch(76.70, 59.19, 97.82°)
OKLaboklab(79.64% -0.027 0.1332)
OKLCHoklch(79.64% 0.136 101.4)
XYZxyz(45.6348, 51.0369, 14.1026)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF4B #4B5BCF
analogous
#CF7D4B #CFBF4B #9DCF4B
triadic
#CFBF4B #4BCFBF #BF4BCF
tetradic
#CFBF4B #4BCF7D #4B5BCF #CF4B9D
square
#CFBF4B #4BCF7D #4B5BCF #CF4B9D
split-complementary
#CFBF4B #4B9DCF #7D4BCF
monochromatic
#7E7322 #AE9F2E #CFBF4B #DCD07B #E9E1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF4B#FFFFFF#000000##000000
##CFBF4B1.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)
#D0B93D
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#DEB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf4b;
/* rgb */ color: rgb(207, 191, 75);
/* oklch */ color: oklch(79.6% 0.136 101.4);
Tailwind
colors: {
  custom: {
    50: '#e1d282',
    500: '#cfbf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf4b;
$custom-light: #e1d282;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf4b",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 52.727,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79639,
    "c": 0.13593,
    "h": 101.4
  },
  "luminance": 0.51035
}

Semantic roles & 50–950 ramp

primary
#CFBF4B
secondary
#394286
accent
#59E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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