#CFB84C#CFB84C

#CFB84C 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.61:1 contrast (WCAG AA passes).

Color values

HEX#CFB84C
RGBrgb(207, 184, 76)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 63%, 81%)
CMYKcmyk(0%, 11.1%, 63.3%, 18.8%)
CIE-LABlab(74.87, -4.36, 56.24)
CIE-LCHlch(74.87, 56.41, 94.44°)
OKLaboklab(78.19% -0.0163 0.1283)
OKLCHoklch(78.19% 0.129 97.2)
XYZxyz(44.1790, 48.0703, 13.7875)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB84C #4C63CF
analogous
#CF774C #CFB84C #A4CF4C
triadic
#CFB84C #4CCFB8 #B84CCF
tetradic
#CFB84C #4CCF77 #4C63CF #CF4CA4
square
#CFB84C #4CCF77 #4C63CF #CF4CA4
split-complementary
#CFB84C #4CA4CF #774CCF
monochromatic
#7F6E22 #AF982F #CFB84C #DCCB7C #E9DEAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB84C#FFFFFF#000000##000000
##CFB84C1.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)
#C9B440
Deuteranopia (green-blind)
#CFBC51
Tritanopia (blue-blind)
#DEABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb84c;
/* rgb */ color: rgb(207, 184, 76);
/* oklch */ color: oklch(78.2% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#e1cd83',
    500: '#cfb84c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb84c;
$custom-light: #e1cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb84c",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 49.466,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7819,
    "c": 0.12931,
    "h": 97.2
  },
  "luminance": 0.48068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB84C

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

Preview Lab → · Contrast checker → · Palette generator →

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