#CFC146#CFC146

#CFC146 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.141 H 102.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CFC146
RGBrgb(207, 193, 70)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 66%, 81%)
CMYKcmyk(0%, 6.8%, 66.2%, 18.8%)
CIE-LABlab(77.19, -9.38, 61.23)
CIE-LCHlch(77.19, 61.95, 98.71°)
OKLaboklab(80.02% -0.0313 0.1379)
OKLCHoklch(80.02% 0.141 102.8)
XYZxyz(45.9094, 51.8494, 13.3828)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC146 #4654CF
analogous
#CF7D46 #CFC146 #98CF46
triadic
#CFC146 #46CFC1 #C146CF
tetradic
#CFC146 #46CF7D #4654CF #CF4698
square
#CFC146 #46CF7D #4654CF #CF4698
split-complementary
#CFC146 #4698CF #7D46CF
monochromatic
#7B7120 #AB9E2C #CFC146 #DCD177 #E8E2A7

Accessibility & contrast

On white

1.85
#CFC146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CFC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC146
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC146#FFFFFF#000000##000000
##CFC1461.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#DEB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc146;
/* rgb */ color: rgb(207, 193, 70);
/* oklch */ color: oklch(80.0% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#e1d380',
    500: '#cfc146',
    950: '#000000',
  },
}
SCSS
$custom: #cfc146;
$custom-light: #e1d380;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc146",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 53.869,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80015,
    "c": 0.14145,
    "h": 102.8
  },
  "luminance": 0.51848
}

Semantic roles & 50–950 ramp

primary
#CFC146
secondary
#363E83
accent
#56E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC146

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

Preview Lab → · Contrast checker → · Palette generator →

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