#CFC249#CFC249

#CFC249 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.140 H 103.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CFC249
RGBrgb(207, 194, 73)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 65%, 81%)
CMYKcmyk(0%, 6.3%, 64.7%, 18.8%)
CIE-LABlab(77.48, -9.71, 60.30)
CIE-LCHlch(77.48, 61.08, 99.15°)
OKLaboklab(80.25% -0.0319 0.1364)
OKLCHoklch(80.25% 0.14 103.2)
XYZxyz(46.2283, 52.3318, 13.9680)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC249 #4956CF
analogous
#CF7F49 #CFC249 #99CF49
triadic
#CFC249 #49CFC2 #C249CF
tetradic
#CFC249 #49CF7F #4956CF #CF4999
square
#CFC249 #49CF7F #4956CF #CF4999
split-complementary
#CFC249 #4999CF #7F49CF
monochromatic
#7D7421 #ADA12E #CFC249 #DCD279 #E9E2AA

Accessibility & contrast

On white

1.83
#CFC249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CFC249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC249
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC249#FFFFFF#000000##000000
##CFC2491.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3A
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc249;
/* rgb */ color: rgb(207, 194, 73);
/* oklch */ color: oklch(80.3% 0.140 103.2);
Tailwind
colors: {
  custom: {
    50: '#e1d482',
    500: '#cfc249',
    950: '#000000',
  },
}
SCSS
$custom: #cfc249;
$custom-light: #e1d482;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc249",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 54.179,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80252,
    "c": 0.14013,
    "h": 103.2
  },
  "luminance": 0.5233
}

Semantic roles & 50–950 ramp

primary
#CFC249
secondary
#383F84
accent
#55E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC249

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

Preview Lab → · Contrast checker → · Palette generator →

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