#CFC246#CFC246

#CFC246 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.142 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CFC246
RGBrgb(207, 194, 70)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 66%, 81%)
CMYKcmyk(0%, 6.3%, 66.2%, 18.8%)
CIE-LABlab(77.46, -9.89, 61.51)
CIE-LCHlch(77.46, 62.30, 99.13°)
OKLaboklab(80.23% -0.0327 0.1385)
OKLCHoklch(80.23% 0.142 103.3)
XYZxyz(46.1313, 52.2930, 13.4568)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC246 #4653CF
analogous
#CF7E46 #CFC246 #97CF46
triadic
#CFC246 #46CFC2 #C246CF
tetradic
#CFC246 #46CF7E #4653CF #CF4697
square
#CFC246 #46CF7E #4653CF #CF4697
split-complementary
#CFC246 #4697CF #7E46CF
monochromatic
#7B7220 #AB9F2C #CFC246 #DCD277 #E8E2A7

Accessibility & contrast

On white

1.83
#CFC246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CFC246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC246
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC246#FFFFFF#000000##000000
##CFC2461.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc246;
/* rgb */ color: rgb(207, 194, 70);
/* oklch */ color: oklch(80.2% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#e1d480',
    500: '#cfc246',
    950: '#000000',
  },
}
SCSS
$custom: #cfc246;
$custom-light: #e1d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc246",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 54.307,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80226,
    "c": 0.14234,
    "h": 103.3
  },
  "luminance": 0.52291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC246

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

Preview Lab → · Contrast checker → · Palette generator →

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