#CFC749#CFC749

#CFC749 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.145 H 105.7°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CFC749
RGBrgb(207, 199, 73)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 65%, 81%)
CMYKcmyk(0%, 3.9%, 64.7%, 18.8%)
CIE-LABlab(78.81, -12.26, 61.69)
CIE-LCHlch(78.81, 62.90, 101.24°)
OKLaboklab(81.31% -0.0391 0.1394)
OKLCHoklch(81.31% 0.145 105.7)
XYZxyz(47.3599, 54.5949, 14.3452)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC749 #4951CF
analogous
#CF8449 #CFC749 #94CF49
triadic
#CFC749 #49CFC7 #C749CF
tetradic
#CFC749 #49CF84 #4951CF #CF4994
square
#CFC749 #49CF84 #4951CF #CF4994
split-complementary
#CFC749 #4994CF #8449CF
monochromatic
#7D7721 #ADA62E #CFC749 #DCD679 #E9E5AA

Accessibility & contrast

On white

1.76
#CFC749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CFC749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC749
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC749#FFFFFF#000000##000000
##CFC7491.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C038
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc749;
/* rgb */ color: rgb(207, 199, 73);
/* oklch */ color: oklch(81.3% 0.145 105.7);
Tailwind
colors: {
  custom: {
    50: '#e1d782',
    500: '#cfc749',
    950: '#000000',
  },
}
SCSS
$custom: #cfc749;
$custom-light: #e1d782;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc749",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 73
  },
  "hsl": {
    "h": 56.418,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81309,
    "c": 0.14477,
    "h": 105.7
  },
  "luminance": 0.54593
}

Semantic roles & 50–950 ramp

primary
#CFC749
secondary
#383C84
accent
#50E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC749

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

Preview Lab → · Contrast checker → · Palette generator →

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