#CFB84F#CFB84F

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

Color values

HEX#CFB84F
RGBrgb(207, 184, 79)
HSLhsl(49, 57%, 56%)
HSVhsv(49, 62%, 81%)
CMYKcmyk(0%, 11.1%, 61.8%, 18.8%)
CIE-LABlab(74.90, -4.17, 54.94)
CIE-LCHlch(74.90, 55.10, 94.34°)
OKLaboklab(78.22% -0.0154 0.126)
OKLCHoklch(78.22% 0.127 97)
XYZxyz(44.2858, 48.1130, 14.3497)
Luminance0.4811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB84F #4F66CF
analogous
#CF784F #CFB84F #A6CF4F
triadic
#CFB84F #4FCFB8 #B84FCF
tetradic
#CFB84F #4FCF78 #4F66CF #CF4FA6
square
#CFB84F #4FCF78 #4F66CF #CF4FA6
split-complementary
#CFB84F #4FA6CF #784FCF
monochromatic
#817023 #B19A30 #CFB84F #DCCB7F #E9DFAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB84F#FFFFFF#000000##000000
##CFB84F1.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)
#C9B443
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#DEABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb84f;
/* rgb */ color: rgb(207, 184, 79);
/* oklch */ color: oklch(78.2% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#e1cd84',
    500: '#cfb84f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb84f;
$custom-light: #e1cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb84f",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 49.219,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7822,
    "c": 0.12689,
    "h": 97
  },
  "luminance": 0.48111
}

Semantic roles & 50–950 ramp

primary
#CFB84F
secondary
#A2ACD7
accent
#63E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB84F

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

Preview Lab → · Contrast checker → · Palette generator →

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