#CFC149#CFC149

#CFC149 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.139 H 102.6°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CFC149
RGBrgb(207, 193, 73)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 65%, 81%)
CMYKcmyk(0%, 6.8%, 64.7%, 18.8%)
CIE-LABlab(77.21, -9.20, 60.02)
CIE-LCHlch(77.21, 60.72, 98.72°)
OKLaboklab(80.04% -0.0305 0.1359)
OKLCHoklch(80.04% 0.139 102.6)
XYZxyz(46.0065, 51.8882, 13.8941)
Luminance0.5189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC149 #4957CF
analogous
#CF7E49 #CFC149 #9ACF49
triadic
#CFC149 #49CFC1 #C149CF
tetradic
#CFC149 #49CF7E #4957CF #CF499A
square
#CFC149 #49CF7E #4957CF #CF499A
split-complementary
#CFC149 #499ACF #7E49CF
monochromatic
#7D7321 #ADA02E #CFC149 #DCD179 #E9E2AA

Accessibility & contrast

On white

1.85
#CFC149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CFC149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC149
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC149#FFFFFF#000000##000000
##CFC1491.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3A
Deuteranopia (green-blind)
#D6C250
Tritanopia (blue-blind)
#DEB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc149;
/* rgb */ color: rgb(207, 193, 73);
/* oklch */ color: oklch(80.0% 0.139 102.6);
Tailwind
colors: {
  custom: {
    50: '#e1d381',
    500: '#cfc149',
    950: '#000000',
  },
}
SCSS
$custom: #cfc149;
$custom-light: #e1d381;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc149",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 53.731,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80041,
    "c": 0.13923,
    "h": 102.6
  },
  "luminance": 0.51886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC149

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

Preview Lab → · Contrast checker → · Palette generator →

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