#CFC049#CFC049

#CFC049 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.138 H 102.1°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CFC049
RGBrgb(207, 192, 73)
HSLhsl(53, 58%, 55%)
HSVhsv(53, 65%, 81%)
CMYKcmyk(0%, 7.2%, 64.7%, 18.8%)
CIE-LABlab(76.95, -8.69, 59.75)
CIE-LCHlch(76.95, 60.37, 98.28°)
OKLaboklab(79.83% -0.029 0.1353)
OKLCHoklch(79.83% 0.138 102.1)
XYZxyz(45.7862, 51.4476, 13.8206)
Luminance0.5145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC049 #4958CF
analogous
#CF7D49 #CFC049 #9BCF49
triadic
#CFC049 #49CFC0 #C049CF
tetradic
#CFC049 #49CF7D #4958CF #CF499B
square
#CFC049 #49CF7D #4958CF #CF499B
split-complementary
#CFC049 #499BCF #7D49CF
monochromatic
#7D7221 #AD9F2E #CFC049 #DCD179 #E9E2AA

Accessibility & contrast

On white

1.86
#CFC049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CFC049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC049
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC049#FFFFFF#000000##000000
##CFC0491.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA3A
Deuteranopia (green-blind)
#D5C150
Tritanopia (blue-blind)
#DEB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc049;
/* rgb */ color: rgb(207, 192, 73);
/* oklch */ color: oklch(79.8% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#e1d281',
    500: '#cfc049',
    950: '#000000',
  },
}
SCSS
$custom: #cfc049;
$custom-light: #e1d281;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc049",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 53.284,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79831,
    "c": 0.13834,
    "h": 102.1
  },
  "luminance": 0.51446
}

Semantic roles & 50–950 ramp

primary
#CFC049
secondary
#384084
accent
#58E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC049

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

Preview Lab → · Contrast checker → · Palette generator →

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