#CFBE4C#CFBE4C

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

Color values

HEX#CFBE4C
RGBrgb(207, 190, 76)
HSLhsl(52, 58%, 55%)
HSVhsv(52, 63%, 81%)
CMYKcmyk(0%, 8.2%, 63.3%, 18.8%)
CIE-LABlab(76.45, -7.48, 57.94)
CIE-LCHlch(76.45, 58.42, 97.35°)
OKLaboklab(79.44% -0.0252 0.1319)
OKLCHoklch(79.44% 0.134 100.8)
XYZxyz(45.4519, 50.6160, 14.2118)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE4C #4C5DCF
analogous
#CF7D4C #CFBE4C #9ECF4C
triadic
#CFBE4C #4CCFBE #BE4CCF
tetradic
#CFBE4C #4CCF7D #4C5DCF #CF4C9E
square
#CFBE4C #4CCF7D #4C5DCF #CF4C9E
split-complementary
#CFBE4C #4C9ECF #7D4CCF
monochromatic
#7F7322 #AF9E2F #CFBE4C #DCD07C #E9E1AD

Accessibility & contrast

On white

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

On black

11.12
#CFBE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE4C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE4C#FFFFFF#000000##000000
##CFBE4C1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbe4c;
/* rgb */ color: rgb(207, 190, 76);
/* oklch */ color: oklch(79.4% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#e1d183',
    500: '#cfbe4c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe4c;
$custom-light: #e1d183;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe4c",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 76
  },
  "hsl": {
    "h": 52.214,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79439,
    "c": 0.13428,
    "h": 100.8
  },
  "luminance": 0.50614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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