#CFC949#CFC949

#CFC949 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.147 H 106.6°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CFC949
RGBrgb(207, 201, 73)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 65%, 81%)
CMYKcmyk(0%, 2.9%, 64.7%, 18.8%)
CIE-LABlab(79.34, -13.27, 62.25)
CIE-LCHlch(79.34, 63.65, 102.03°)
OKLaboklab(81.73% -0.042 0.1406)
OKLCHoklch(81.73% 0.147 106.6)
XYZxyz(47.8231, 55.5213, 14.4996)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC949 #494FCF
analogous
#CF8649 #CFC949 #92CF49
triadic
#CFC949 #49CFC9 #C949CF
tetradic
#CFC949 #49CF86 #494FCF #CF4992
square
#CFC949 #49CF86 #494FCF #CF4992
split-complementary
#CFC949 #4992CF #8649CF
monochromatic
#7D7921 #ADA72E #CFC949 #DCD779 #E9E6AA

Accessibility & contrast

On white

1.73
#CFC949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CFC949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC949
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC949#FFFFFF#000000##000000
##CFC9491.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C238
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc949;
/* rgb */ color: rgb(207, 201, 73);
/* oklch */ color: oklch(81.7% 0.147 106.6);
Tailwind
colors: {
  custom: {
    50: '#e1d982',
    500: '#cfc949',
    950: '#000000',
  },
}
SCSS
$custom: #cfc949;
$custom-light: #e1d982;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc949",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 57.313,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81733,
    "c": 0.14669,
    "h": 106.6
  },
  "luminance": 0.5552
}

Semantic roles & 50–950 ramp

primary
#CFC949
secondary
#383B84
accent
#4DE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC949

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

Preview Lab → · Contrast checker → · Palette generator →

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