#CFBB54#CFBB54

#CFBB54 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.9% C 0.125 H 98.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CFBB54
RGBrgb(207, 187, 84)
HSLhsl(50, 56%, 57%)
HSVhsv(50, 59%, 81%)
CMYKcmyk(0%, 9.7%, 59.4%, 18.8%)
CIE-LABlab(75.73, -5.39, 53.60)
CIE-LCHlch(75.73, 53.87, 95.74°)
OKLaboklab(78.9% -0.0183 0.1238)
OKLCHoklch(78.9% 0.125 98.4)
XYZxyz(45.1045, 49.4481, 15.5544)
Luminance0.4945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB54 #5468CF
analogous
#CF7E54 #CFBB54 #A6CF54
triadic
#CFBB54 #54CFBB #BB54CF
tetradic
#CFBB54 #54CF7E #5468CF #CF54A6
square
#CFBB54 #54CF7E #5468CF #CF54A6
split-complementary
#CFBB54 #54A6CF #7E54CF
monochromatic
#847425 #B39E32 #CFBB54 #DCCE84 #EAE1B4

Accessibility & contrast

On white

1.93
#CFBB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#CFBB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB54
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB54#FFFFFF#000000##000000
##CFBB541.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB749
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#DEAFA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbb54;
/* rgb */ color: rgb(207, 187, 84);
/* oklch */ color: oklch(78.9% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#e0cf88',
    500: '#cfbb54',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb54;
$custom-light: #e0cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb54",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 50.244,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78895,
    "c": 0.12511,
    "h": 98.4
  },
  "luminance": 0.49446
}

Semantic roles & 50–950 ramp

primary
#CFBB54
secondary
#A6AFD8
accent
#61DF48
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBB54

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

Preview Lab → · Contrast checker → · Palette generator →

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