#CFB84D#CFB84D

#CFB84D is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.129 H 97.2°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CFB84D
RGBrgb(207, 184, 77)
HSLhsl(49, 58%, 56%)
HSVhsv(49, 63%, 81%)
CMYKcmyk(0%, 11.1%, 62.8%, 18.8%)
CIE-LABlab(74.88, -4.30, 55.81)
CIE-LCHlch(74.88, 55.97, 94.41°)
OKLaboklab(78.2% -0.016 0.1275)
OKLCHoklch(78.2% 0.129 97.2)
XYZxyz(44.2141, 48.0843, 13.9720)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB84D #4D64CF
analogous
#CF774D #CFB84D #A5CF4D
triadic
#CFB84D #4DCFB8 #B84DCF
tetradic
#CFB84D #4DCF77 #4D64CF #CF4DA5
square
#CFB84D #4DCF77 #4D64CF #CF4DA5
split-complementary
#CFB84D #4DA5CF #774DCF
monochromatic
#7F6F22 #AF992F #CFB84D #DCCB7D #E9DEAD

Accessibility & contrast

On white

1.98
#CFB84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CFB84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB84D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB84D#FFFFFF#000000##000000
##CFB84D1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B441
Deuteranopia (green-blind)
#CFBC52
Tritanopia (blue-blind)
#DEABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb84d;
/* rgb */ color: rgb(207, 184, 77);
/* oklch */ color: oklch(78.2% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#e1cd83',
    500: '#cfb84d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb84d;
$custom-light: #e1cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb84d",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 49.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78199,
    "c": 0.12851,
    "h": 97.2
  },
  "luminance": 0.48082
}

Semantic roles & 50–950 ramp

primary
#CFB84D
secondary
#A1AAD7
accent
#62E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB84D

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

Preview Lab → · Contrast checker → · Palette generator →

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