#CFCD34#CFCD34

#CFCD34 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.4% C 0.164 H 108.7°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CFCD34
RGBrgb(207, 205, 52)
HSLhsl(59, 62%, 51%)
HSVhsv(59, 75%, 81%)
CMYKcmyk(0%, 1%, 74.9%, 18.8%)
CIE-LABlab(80.28, -16.31, 70.79)
CIE-LCHlch(80.28, 72.65, 102.98°)
OKLaboklab(82.44% -0.0526 0.155)
OKLCHoklch(82.44% 0.164 108.7)
XYZxyz(48.1851, 57.1775, 11.7463)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD34 #3436CF
analogous
#CF7F34 #CFCD34 #83CF34
triadic
#CFCD34 #34CFCD #CD34CF
tetradic
#CFCD34 #34CF7F #3436CF #CF3483
square
#CFCD34 #34CF7F #3436CF #CF3483
split-complementary
#CFCD34 #3483CF #7F34CF
monochromatic
#6E6D1A #A09E26 #CFCD34 #DBD965 #E6E597

Accessibility & contrast

On white

1.69
#CFCD34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#CFCD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD34
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD34#FFFFFF#000000##000000
##CFCD341.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC40E
Deuteranopia (green-blind)
#E0C941
Tritanopia (blue-blind)
#DEC0B0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd34;
/* rgb */ color: rgb(207, 205, 52);
/* oklch */ color: oklch(82.4% 0.164 108.7);
Tailwind
colors: {
  custom: {
    50: '#e2dc78',
    500: '#cfcd34',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd34;
$custom-light: #e2dc78;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd34",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 59.226,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.8244,
    "c": 0.16371,
    "h": 108.7
  },
  "luminance": 0.57176
}

Semantic roles & 50–950 ramp

primary
#CFCD34
secondary
#2F3078
accent
#45E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCD34

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

Preview Lab → · Contrast checker → · Palette generator →

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