#CFC058#CFC058

#CFC058 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.126 H 101.2°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CFC058
RGBrgb(207, 192, 88)
HSLhsl(52, 55%, 58%)
HSVhsv(52, 57%, 81%)
CMYKcmyk(0%, 7.2%, 57.5%, 18.8%)
CIE-LABlab(77.08, -7.68, 53.30)
CIE-LCHlch(77.08, 53.85, 98.20°)
OKLaboklab(79.98% -0.0244 0.1236)
OKLCHoklch(79.98% 0.126 101.2)
XYZxyz(46.3449, 51.6710, 16.7629)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC058 #5867CF
analogous
#CF8458 #CFC058 #A2CF58
triadic
#CFC058 #58CFC0 #C058CF
tetradic
#CFC058 #58CF84 #5867CF #CF58A2
square
#CFC058 #58CF84 #5867CF #CF58A2
split-complementary
#CFC058 #58A2CF #8458CF
monochromatic
#867A27 #B6A534 #CFC058 #DDD288 #EAE4B7

Accessibility & contrast

On white

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

On black

11.33
#CFC058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC058
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC058#FFFFFF#000000##000000
##CFC0581.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4D
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#DDB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc058;
/* rgb */ color: rgb(207, 192, 88);
/* oklch */ color: oklch(80.0% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#e0d28b',
    500: '#cfc058',
    950: '#000000',
  },
}
SCSS
$custom: #cfc058;
$custom-light: #e0d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc058",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 88
  },
  "hsl": {
    "h": 52.437,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79981,
    "c": 0.12599,
    "h": 101.2
  },
  "luminance": 0.51669
}

Semantic roles & 50–950 ramp

primary
#CFC058
secondary
#3E488D
accent
#5CDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC058

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

Preview Lab → · Contrast checker → · Palette generator →

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