#CFC347#CFC347

#CFC347 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.143 H 103.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CFC347
RGBrgb(207, 195, 71)
HSLhsl(55, 59%, 55%)
HSVhsv(55, 66%, 81%)
CMYKcmyk(0%, 5.8%, 65.7%, 18.8%)
CIE-LABlab(77.73, -10.34, 61.38)
CIE-LCHlch(77.73, 62.25, 99.56°)
OKLaboklab(80.44% -0.0339 0.1384)
OKLCHoklch(80.44% 0.143 103.8)
XYZxyz(46.3864, 52.7523, 13.6988)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC347 #4753CF
analogous
#CF7F47 #CFC347 #97CF47
triadic
#CFC347 #47CFC3 #C347CF
tetradic
#CFC347 #47CF7F #4753CF #CF4797
square
#CFC347 #47CF7F #4753CF #CF4797
split-complementary
#CFC347 #4797CF #7F47CF
monochromatic
#7B7320 #ACA12D #CFC347 #DCD378 #E8E3A8

Accessibility & contrast

On white

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

On black

11.55
#CFC347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC347
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC347#FFFFFF#000000##000000
##CFC3471.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc347;
/* rgb */ color: rgb(207, 195, 71);
/* oklch */ color: oklch(80.4% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#e1d480',
    500: '#cfc347',
    950: '#000000',
  },
}
SCSS
$custom: #cfc347;
$custom-light: #e1d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc347",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 54.706,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80445,
    "c": 0.14252,
    "h": 103.8
  },
  "luminance": 0.52751
}

Semantic roles & 50–950 ramp

primary
#CFC347
secondary
#373E83
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC347

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

Preview Lab → · Contrast checker → · Palette generator →

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