#CFC346#CFC346

#CFC346 is a light, vivid yellow. Relative luminance 0.527; 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#CFC346
RGBrgb(207, 195, 70)
HSLhsl(55, 59%, 54%)
HSVhsv(55, 66%, 81%)
CMYKcmyk(0%, 5.8%, 66.2%, 18.8%)
CIE-LABlab(77.72, -10.40, 61.78)
CIE-LCHlch(77.72, 62.65, 99.56°)
OKLaboklab(80.44% -0.0342 0.1391)
OKLCHoklch(80.44% 0.143 103.8)
XYZxyz(46.3546, 52.7396, 13.5312)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC346 #4652CF
analogous
#CF7F46 #CFC346 #96CF46
triadic
#CFC346 #46CFC3 #C346CF
tetradic
#CFC346 #46CF7F #4652CF #CF4696
square
#CFC346 #46CF7F #4652CF #CF4696
split-complementary
#CFC346 #4696CF #7F46CF
monochromatic
#7B7320 #ABA02C #CFC346 #DCD377 #E8E3A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC346#FFFFFF#000000##000000
##CFC3461.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)
#D4BD35
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#DEB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc346;
/* rgb */ color: rgb(207, 195, 70);
/* oklch */ color: oklch(80.4% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#e1d480',
    500: '#cfc346',
    950: '#000000',
  },
}
SCSS
$custom: #cfc346;
$custom-light: #e1d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc346",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 54.745,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80437,
    "c": 0.14324,
    "h": 103.8
  },
  "luminance": 0.52738
}

Semantic roles & 50–950 ramp

primary
#CFC346
secondary
#363D83
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC346

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

Preview Lab → · Contrast checker → · Palette generator →

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