#CFC341#CFC341

#CFC341 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.147 H 104.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CFC341
RGBrgb(207, 195, 65)
HSLhsl(55, 60%, 53%)
HSVhsv(55, 69%, 81%)
CMYKcmyk(0%, 5.8%, 68.6%, 18.8%)
CIE-LABlab(77.69, -10.67, 63.72)
CIE-LCHlch(77.69, 64.61, 99.51°)
OKLaboklab(80.4% -0.0355 0.1424)
OKLCHoklch(80.4% 0.147 104)
XYZxyz(46.2033, 52.6791, 12.7343)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC341 #414DCF
analogous
#CF7C41 #CFC341 #94CF41
triadic
#CFC341 #41CFC3 #C341CF
tetradic
#CFC341 #41CF7C #414DCF #CF4194
square
#CFC341 #41CF7C #414DCF #CF4194
split-complementary
#CFC341 #4194CF #7C41CF
monochromatic
#77701E #A89E2B #CFC341 #DBD272 #E8E2A3

Accessibility & contrast

On white

1.82
#CFC341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CFC341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC341
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC341#FFFFFF#000000##000000
##CFC3411.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#DEB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc341;
/* rgb */ color: rgb(207, 195, 65);
/* oklch */ color: oklch(80.4% 0.147 104.0);
Tailwind
colors: {
  custom: {
    50: '#e1d47d',
    500: '#cfc341',
    950: '#000000',
  },
}
SCSS
$custom: #cfc341;
$custom-light: #e1d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc341",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 54.93,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80397,
    "c": 0.14672,
    "h": 104
  },
  "luminance": 0.52677
}

Semantic roles & 50–950 ramp

primary
#CFC341
secondary
#343B80
accent
#52E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC341

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

Preview Lab → · Contrast checker → · Palette generator →

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