#CFC935#CFC935

#CFC935 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.159 H 107.1°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CFC935
RGBrgb(207, 201, 53)
HSLhsl(58, 62%, 51%)
HSVhsv(58, 74%, 81%)
CMYKcmyk(0%, 2.9%, 74.4%, 18.8%)
CIE-LABlab(79.21, -14.27, 69.48)
CIE-LCHlch(79.21, 70.93, 101.61°)
OKLaboklab(81.59% -0.0468 0.1524)
OKLCHoklch(81.59% 0.159 107.1)
XYZxyz(47.2633, 55.2974, 11.5513)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC935 #353BCF
analogous
#CF7C35 #CFC935 #88CF35
triadic
#CFC935 #35CFC9 #C935CF
tetradic
#CFC935 #35CF7C #353BCF #CF3588
square
#CFC935 #35CF7C #353BCF #CF3588
split-complementary
#CFC935 #3588CF #7C35CF
monochromatic
#6F6C1A #A19C26 #CFC935 #DBD666 #E7E398

Accessibility & contrast

On white

1.74
#CFC935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CFC935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC935
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC935#FFFFFF#000000##000000
##CFC9351.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC114
Deuteranopia (green-blind)
#DDC741
Tritanopia (blue-blind)
#DEBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc935;
/* rgb */ color: rgb(207, 201, 53);
/* oklch */ color: oklch(81.6% 0.159 107.1);
Tailwind
colors: {
  custom: {
    50: '#e2d978',
    500: '#cfc935',
    950: '#000000',
  },
}
SCSS
$custom: #cfc935;
$custom-light: #e2d978;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc935",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 57.662,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.8159,
    "c": 0.15945,
    "h": 107.1
  },
  "luminance": 0.55296
}

Semantic roles & 50–950 ramp

primary
#CFC935
secondary
#303378
accent
#49E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC935

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

Preview Lab → · Contrast checker → · Palette generator →

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