#CFBE4D#CFBE4D

#CFBE4D is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.133 H 100.8°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CFBE4D
RGBrgb(207, 190, 77)
HSLhsl(52, 58%, 56%)
HSVhsv(52, 63%, 81%)
CMYKcmyk(0%, 8.2%, 62.8%, 18.8%)
CIE-LABlab(76.45, -7.41, 57.52)
CIE-LCHlch(76.45, 57.99, 97.34°)
OKLaboklab(79.45% -0.0249 0.1311)
OKLCHoklch(79.45% 0.133 100.8)
XYZxyz(45.4870, 50.6300, 14.3963)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE4D #4D5ECF
analogous
#CF7D4D #CFBE4D #9FCF4D
triadic
#CFBE4D #4DCFBE #BE4DCF
tetradic
#CFBE4D #4DCF7D #4D5ECF #CF4D9F
square
#CFBE4D #4DCF7D #4D5ECF #CF4D9F
split-complementary
#CFBE4D #4D9FCF #7D4DCF
monochromatic
#7F7322 #AF9F2F #CFBE4D #DCD07D #E9E1AD

Accessibility & contrast

On white

1.89
#CFBE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#CFBE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE4D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE4D#FFFFFF#000000##000000
##CFBE4D1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB940
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#DEB1A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe4d;
/* rgb */ color: rgb(207, 190, 77);
/* oklch */ color: oklch(79.4% 0.133 100.8);
Tailwind
colors: {
  custom: {
    50: '#e1d184',
    500: '#cfbe4d',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe4d;
$custom-light: #e1d184;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe4d",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 77
  },
  "hsl": {
    "h": 52.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79449,
    "c": 0.13349,
    "h": 100.8
  },
  "luminance": 0.50628
}

Semantic roles & 50–950 ramp

primary
#CFBE4D
secondary
#394487
accent
#5BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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