#CFC351#CFC351

#CFC351 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.135 H 103.3°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CFC351
RGBrgb(207, 195, 81)
HSLhsl(54, 57%, 56%)
HSVhsv(54, 61%, 81%)
CMYKcmyk(0%, 5.8%, 60.9%, 18.8%)
CIE-LABlab(77.81, -9.72, 57.25)
CIE-LCHlch(77.81, 58.06, 99.63°)
OKLaboklab(80.54% -0.031 0.1311)
OKLCHoklch(80.54% 0.135 103.3)
XYZxyz(46.7341, 52.8914, 15.5303)
Luminance0.5289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC351 #515DCF
analogous
#CF8451 #CFC351 #9CCF51
triadic
#CFC351 #51CFC3 #C351CF
tetradic
#CFC351 #51CF84 #515DCF #CF519C
square
#CFC351 #51CF84 #515DCF #CF519C
split-complementary
#CFC351 #519CCF #8451CF
monochromatic
#827924 #B2A631 #CFC351 #DCD481 #E9E4B1

Accessibility & contrast

On white

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

On black

11.58
#CFC351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC351
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC351#FFFFFF#000000##000000
##CFC3511.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#DEB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc351;
/* rgb */ color: rgb(207, 195, 81);
/* oklch */ color: oklch(80.5% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#e1d486',
    500: '#cfc351',
    950: '#000000',
  },
}
SCSS
$custom: #cfc351;
$custom-light: #e1d486;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc351",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 54.286,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80537,
    "c": 0.13475,
    "h": 103.3
  },
  "luminance": 0.5289
}

Semantic roles & 50–950 ramp

primary
#CFC351
secondary
#3B4389
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC351

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

Preview Lab → · Contrast checker → · Palette generator →

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