#CFBF4E#CFBF4E

#CFBF4E is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.7% C 0.134 H 101.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CFBF4E
RGBrgb(207, 191, 78)
HSLhsl(53, 57%, 56%)
HSVhsv(53, 62%, 81%)
CMYKcmyk(0%, 7.7%, 62.3%, 18.8%)
CIE-LABlab(76.73, -7.86, 57.38)
CIE-LCHlch(76.73, 57.91, 97.80°)
OKLaboklab(79.67% -0.0261 0.131)
OKLCHoklch(79.67% 0.134 101.3)
XYZxyz(45.7399, 51.0789, 14.6561)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF4E #4E5ECF
analogous
#CF7E4E #CFBF4E #9ECF4E
triadic
#CFBF4E #4ECFBF #BF4ECF
tetradic
#CFBF4E #4ECF7E #4E5ECF #CF4E9E
square
#CFBF4E #4ECF7E #4E5ECF #CF4E9E
split-complementary
#CFBF4E #4E9ECF #7E4ECF
monochromatic
#807423 #B0A030 #CFBF4E #DCD07E #E9E2AE

Accessibility & contrast

On white

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

On black

11.22
#CFBF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF4E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF4E#FFFFFF#000000##000000
##CFBF4E1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbf4e;
/* rgb */ color: rgb(207, 191, 78);
/* oklch */ color: oklch(79.7% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#e1d284',
    500: '#cfbf4e',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf4e;
$custom-light: #e1d284;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf4e",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 52.558,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79668,
    "c": 0.13355,
    "h": 101.3
  },
  "luminance": 0.51077
}

Semantic roles & 50–950 ramp

primary
#CFBF4E
secondary
#3A4387
accent
#5AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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