#CFB84A#CFB84A

#CFB84A is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.131 H 97.4°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CFB84A
RGBrgb(207, 184, 74)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 64%, 81%)
CMYKcmyk(0%, 11.1%, 64.3%, 18.8%)
CIE-LABlab(74.85, -4.49, 57.09)
CIE-LCHlch(74.85, 57.27, 94.50°)
OKLaboklab(78.17% -0.0169 0.1298)
OKLCHoklch(78.17% 0.131 97.4)
XYZxyz(44.1106, 48.0429, 13.4270)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB84A #4A61CF
analogous
#CF754A #CFB84A #A4CF4A
triadic
#CFB84A #4ACFB8 #B84ACF
tetradic
#CFB84A #4ACF75 #4A61CF #CF4AA4
square
#CFB84A #4ACF75 #4A61CF #CF4AA4
split-complementary
#CFB84A #4AA4CF #754ACF
monochromatic
#7D6D21 #AE982E #CFB84A #DCCB7A #E9DEAB

Accessibility & contrast

On white

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

On black

10.61
#CFB84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB84A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB84A#FFFFFF#000000##000000
##CFB84A1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43D
Deuteranopia (green-blind)
#CFBC50
Tritanopia (blue-blind)
#DFABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb84a;
/* rgb */ color: rgb(207, 184, 74);
/* oklch */ color: oklch(78.2% 0.131 97.4);
Tailwind
colors: {
  custom: {
    50: '#e1cd81',
    500: '#cfb84a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb84a;
$custom-light: #e1cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb84a",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 49.624,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7817,
    "c": 0.1309,
    "h": 97.4
  },
  "luminance": 0.48041
}

Semantic roles & 50–950 ramp

primary
#CFB84A
secondary
#9FA8D6
accent
#61E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB84A

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

Preview Lab → · Contrast checker → · Palette generator →

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