#CFCF46#CFCF46

#CFCF46 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.155 H 109.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CFCF46
RGBrgb(207, 207, 70)
HSLhsl(60, 59%, 54%)
HSVhsv(60, 66%, 81%)
CMYKcmyk(0%, 0%, 66.2%, 18.8%)
CIE-LABlab(80.92, -16.45, 65.06)
CIE-LCHlch(80.92, 67.11, 104.18°)
OKLaboklab(82.99% -0.0513 0.146)
OKLCHoklch(82.99% 0.155 109.3)
XYZxyz(49.1521, 58.3347, 14.4637)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF46 #4646CF
analogous
#CF8B46 #CFCF46 #8BCF46
triadic
#CFCF46 #46CFCF #CF46CF
tetradic
#CFCF46 #46CF8B #4646CF #CF468B
square
#CFCF46 #46CF8B #4646CF #CF468B
split-complementary
#CFCF46 #468BCF #8B46CF
monochromatic
#7B7B20 #ABAB2C #CFCF46 #DCDC77 #E8E8A7

Accessibility & contrast

On white

1.66
#CFCF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CFCF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF46
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF46#FFFFFF#000000##000000
##CFCF461.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC732
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#DDC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf46;
/* rgb */ color: rgb(207, 207, 70);
/* oklch */ color: oklch(83.0% 0.155 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd81',
    500: '#cfcf46',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf46;
$custom-light: #e1dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf46",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8299,
    "c": 0.15476,
    "h": 109.3
  },
  "luminance": 0.58333
}

Semantic roles & 50–950 ramp

primary
#CFCF46
secondary
#363683
accent
#46E246
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCF46

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

Preview Lab → · Contrast checker → · Palette generator →

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