#CFC046#CFC046

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

Color values

HEX#CFC046
RGBrgb(207, 192, 70)
HSLhsl(53, 59%, 54%)
HSVhsv(53, 66%, 81%)
CMYKcmyk(0%, 7.2%, 66.2%, 18.8%)
CIE-LABlab(76.93, -8.87, 60.96)
CIE-LCHlch(76.93, 61.60, 98.27°)
OKLaboklab(79.81% -0.0298 0.1374)
OKLCHoklch(79.81% 0.141 102.3)
XYZxyz(45.6891, 51.4087, 13.3094)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC046 #4655CF
analogous
#CF7C46 #CFC046 #99CF46
triadic
#CFC046 #46CFC0 #C046CF
tetradic
#CFC046 #46CF7C #4655CF #CF4699
square
#CFC046 #46CF7C #4655CF #CF4699
split-complementary
#CFC046 #4699CF #7C46CF
monochromatic
#7B7120 #AB9D2C #CFC046 #DCD177 #E8E1A7

Accessibility & contrast

On white

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

On black

11.28
#CFC046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC046
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC046#FFFFFF#000000##000000
##CFC0461.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc046;
/* rgb */ color: rgb(207, 192, 70);
/* oklch */ color: oklch(79.8% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#e1d280',
    500: '#cfc046',
    950: '#000000',
  },
}
SCSS
$custom: #cfc046;
$custom-light: #e1d280;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc046",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 53.431,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79805,
    "c": 0.14057,
    "h": 102.3
  },
  "luminance": 0.51407
}

Semantic roles & 50–950 ramp

primary
#CFC046
secondary
#363F83
accent
#57E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC046

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

Preview Lab → · Contrast checker → · Palette generator →

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