#CFC358#CFC358

#CFC358 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.129 H 102.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CFC358
RGBrgb(207, 195, 88)
HSLhsl(54, 55%, 58%)
HSVhsv(54, 57%, 81%)
CMYKcmyk(0%, 5.8%, 57.5%, 18.8%)
CIE-LABlab(77.88, -9.22, 54.19)
CIE-LCHlch(77.88, 54.97, 99.66°)
OKLaboklab(80.61% -0.0288 0.1255)
OKLCHoklch(80.61% 0.129 102.9)
XYZxyz(47.0103, 53.0019, 16.9847)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC358 #5864CF
analogous
#CF8858 #CFC358 #9FCF58
triadic
#CFC358 #58CFC3 #C358CF
tetradic
#CFC358 #58CF88 #5864CF #CF589F
square
#CFC358 #58CF88 #5864CF #CF589F
split-complementary
#CFC358 #589FCF #8858CF
monochromatic
#867C27 #B6A934 #CFC358 #DDD488 #EAE5B7

Accessibility & contrast

On white

1.81
#CFC358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CFC358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC358
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC358#FFFFFF#000000##000000
##CFC3581.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#DDB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc358;
/* rgb */ color: rgb(207, 195, 88);
/* oklch */ color: oklch(80.6% 0.129 102.9);
Tailwind
colors: {
  custom: {
    50: '#e0d48b',
    500: '#cfc358',
    950: '#000000',
  },
}
SCSS
$custom: #cfc358;
$custom-light: #e0d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc358",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 53.95,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8061,
    "c": 0.12878,
    "h": 102.9
  },
  "luminance": 0.53
}

Semantic roles & 50–950 ramp

primary
#CFC358
secondary
#3E468D
accent
#58DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC358

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

Preview Lab → · Contrast checker → · Palette generator →

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