#CFB84B#CFB84B

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

Color values

HEX#CFB84B
RGBrgb(207, 184, 75)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 64%, 81%)
CMYKcmyk(0%, 11.1%, 63.8%, 18.8%)
CIE-LABlab(74.86, -4.43, 56.67)
CIE-LCHlch(74.86, 56.84, 94.47°)
OKLaboklab(78.18% -0.0166 0.1291)
OKLCHoklch(78.18% 0.13 97.3)
XYZxyz(44.1445, 48.0565, 13.6058)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB84B #4B62CF
analogous
#CF764B #CFB84B #A4CF4B
triadic
#CFB84B #4BCFB8 #B84BCF
tetradic
#CFB84B #4BCF76 #4B62CF #CF4BA4
square
#CFB84B #4BCF76 #4B62CF #CF4BA4
split-complementary
#CFB84B #4BA4CF #764BCF
monochromatic
#7E6E22 #AE982E #CFB84B #DCCB7B #E9DEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cfb84b;
/* rgb */ color: rgb(207, 184, 75);
/* oklch */ color: oklch(78.2% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#e1cd82',
    500: '#cfb84b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb84b;
$custom-light: #e1cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb84b",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 49.545,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7818,
    "c": 0.13011,
    "h": 97.3
  },
  "luminance": 0.48054
}

Semantic roles & 50–950 ramp

primary
#CFB84B
secondary
#9FA9D6
accent
#62E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB84B

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

Preview Lab → · Contrast checker → · Palette generator →

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