#CFC758#CFC758

#CFC758 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.133 H 105.1°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CFC758
RGBrgb(207, 199, 88)
HSLhsl(56, 55%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.9%, 57.5%, 18.8%)
CIE-LABlab(78.94, -11.26, 55.39)
CIE-LCHlch(78.94, 56.52, 101.49°)
OKLaboklab(81.45% -0.0347 0.1281)
OKLCHoklch(81.45% 0.133 105.1)
XYZxyz(47.9185, 54.8184, 17.2875)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC758 #5860CF
analogous
#CF8B58 #CFC758 #9CCF58
triadic
#CFC758 #58CFC7 #C758CF
tetradic
#CFC758 #58CF8B #5860CF #CF589C
square
#CFC758 #58CF8B #5860CF #CF589C
split-complementary
#CFC758 #589CCF #8B58CF
monochromatic
#868027 #B6AD34 #CFC758 #DDD788 #EAE7B7

Accessibility & contrast

On white

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

On black

11.96
#CFC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC758
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC758#FFFFFF#000000##000000
##CFC7581.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc758;
/* rgb */ color: rgb(207, 199, 88);
/* oklch */ color: oklch(81.5% 0.133 105.1);
Tailwind
colors: {
  custom: {
    50: '#e0d78b',
    500: '#cfc758',
    950: '#000000',
  },
}
SCSS
$custom: #cfc758;
$custom-light: #e0d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc758",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 55.966,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81453,
    "c": 0.13267,
    "h": 105.1
  },
  "luminance": 0.54817
}

Semantic roles & 50–950 ramp

primary
#CFC758
secondary
#3E448D
accent
#53DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC758

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

Preview Lab → · Contrast checker → · Palette generator →

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