#CFB949#CFB949

#CFB949 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.132 H 98.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CFB949
RGBrgb(207, 185, 73)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 65%, 81%)
CMYKcmyk(0%, 10.6%, 64.7%, 18.8%)
CIE-LABlab(75.11, -5.07, 57.79)
CIE-LCHlch(75.11, 58.02, 95.02°)
OKLaboklab(78.37% -0.0187 0.1311)
OKLCHoklch(78.37% 0.132 98.1)
XYZxyz(44.2856, 48.4464, 13.3204)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB949 #495FCF
analogous
#CF7649 #CFB949 #A2CF49
triadic
#CFB949 #49CFB9 #B949CF
tetradic
#CFB949 #49CF76 #495FCF #CF49A2
square
#CFB949 #49CF76 #495FCF #CF49A2
split-complementary
#CFB949 #49A2CF #7649CF
monochromatic
#7D6E21 #AD982E #CFB949 #DCCC79 #E9DEAA

Accessibility & contrast

On white

1.96
#CFB949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#CFB949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB949
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB949#FFFFFF#000000##000000
##CFB9491.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53B
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#DFACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb949;
/* rgb */ color: rgb(207, 185, 73);
/* oklch */ color: oklch(78.4% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#e1cd81',
    500: '#cfb949',
    950: '#000000',
  },
}
SCSS
$custom: #cfb949;
$custom-light: #e1cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb949",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 50.149,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78369,
    "c": 0.13246,
    "h": 98.1
  },
  "luminance": 0.48444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB949

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

Preview Lab → · Contrast checker → · Palette generator →

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