#CFB84E#CFB84E

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

Color values

HEX#CFB84E
RGBrgb(207, 184, 78)
HSLhsl(49, 57%, 56%)
HSVhsv(49, 62%, 81%)
CMYKcmyk(0%, 11.1%, 62.3%, 18.8%)
CIE-LABlab(74.89, -4.23, 55.37)
CIE-LCHlch(74.89, 55.54, 94.37°)
OKLaboklab(78.21% -0.0157 0.1267)
OKLCHoklch(78.21% 0.128 97.1)
XYZxyz(44.2497, 48.0985, 14.1594)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB84E #4E65CF
analogous
#CF774E #CFB84E #A5CF4E
triadic
#CFB84E #4ECFB8 #B84ECF
tetradic
#CFB84E #4ECF77 #4E65CF #CF4EA5
square
#CFB84E #4ECF77 #4E65CF #CF4EA5
split-complementary
#CFB84E #4EA5CF #774ECF
monochromatic
#806F23 #B09930 #CFB84E #DCCB7E #E9DFAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB84E#FFFFFF#000000##000000
##CFB84E1.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)
#C9B442
Deuteranopia (green-blind)
#CFBC53
Tritanopia (blue-blind)
#DEABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb84e;
/* rgb */ color: rgb(207, 184, 78);
/* oklch */ color: oklch(78.2% 0.128 97.1);
Tailwind
colors: {
  custom: {
    50: '#e1cd84',
    500: '#cfb84e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb84e;
$custom-light: #e1cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb84e",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 49.302,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78209,
    "c": 0.1277,
    "h": 97.1
  },
  "luminance": 0.48096
}

Semantic roles & 50–950 ramp

primary
#CFB84E
secondary
#A2ABD7
accent
#63E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB84E

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

Preview Lab → · Contrast checker → · Palette generator →

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