#CFB849#CFB849

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

Color values

HEX#CFB849
RGBrgb(207, 184, 73)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 65%, 81%)
CMYKcmyk(0%, 11.1%, 64.7%, 18.8%)
CIE-LABlab(74.84, -4.55, 57.51)
CIE-LCHlch(74.84, 57.69, 94.52°)
OKLaboklab(78.16% -0.0172 0.1305)
OKLCHoklch(78.16% 0.132 97.5)
XYZxyz(44.0772, 48.0295, 13.2510)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB849 #4960CF
analogous
#CF7549 #CFB849 #A3CF49
triadic
#CFB849 #49CFB8 #B849CF
tetradic
#CFB849 #49CF75 #4960CF #CF49A3
square
#CFB849 #49CF75 #4960CF #CF49A3
split-complementary
#CFB849 #49A3CF #7549CF
monochromatic
#7D6D21 #AD972E #CFB849 #DCCB79 #E9DEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB849#FFFFFF#000000##000000
##CFB8491.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)
#C9B43C
Deuteranopia (green-blind)
#CFBC4F
Tritanopia (blue-blind)
#DFABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb849;
/* rgb */ color: rgb(207, 184, 73);
/* oklch */ color: oklch(78.2% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#e1cd81',
    500: '#cfb849',
    950: '#000000',
  },
}
SCSS
$custom: #cfb849;
$custom-light: #e1cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb849",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 73
  },
  "hsl": {
    "h": 49.701,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78161,
    "c": 0.13167,
    "h": 97.5
  },
  "luminance": 0.48027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB849

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

Preview Lab → · Contrast checker → · Palette generator →

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