#CFD946#CFD946

#CFD946 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.1% C 0.165 H 113.2°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CFD946
RGBrgb(207, 217, 70)
HSLhsl(64, 66%, 56%)
HSVhsv(64, 68%, 85%)
CMYKcmyk(4.6%, 0%, 67.7%, 14.9%)
CIE-LABlab(83.62, -21.36, 67.78)
CIE-LCHlch(83.62, 71.07, 107.49°)
OKLaboklab(85.14% -0.065 0.1518)
OKLCHoklch(85.14% 0.165 113.2)
XYZxyz(51.6520, 63.3344, 15.2970)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD946 #5046D9
analogous
#D99A46 #CFD946 #86D946
triadic
#CFD946 #46CFD9 #D946CF
tetradic
#CFD946 #46D99A #5046D9 #D94686
square
#CFD946 #46D99A #5046D9 #D94686
split-complementary
#CFD946 #4686D9 #9A46D9
monochromatic
#81891C #B1BB26 #CFD946 #DCE379 #E9EEAC

Accessibility & contrast

On white

1.54
#CFD946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#CFD946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD946
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD946#FFFFFF#000000##000000
##CFD9461.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2F
Deuteranopia (green-blind)
#E9D251
Tritanopia (blue-blind)
#DCCCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd946;
/* rgb */ color: rgb(207, 217, 70);
/* oklch */ color: oklch(85.1% 0.165 113.2);
Tailwind
colors: {
  custom: {
    50: '#e1e482',
    500: '#cfd946',
    950: '#000000',
  },
}
SCSS
$custom: #cfd946;
$custom-light: #e1e482;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd946",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 70
  },
  "hsl": {
    "h": 64.082,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85143,
    "c": 0.1651,
    "h": 113.2
  },
  "luminance": 0.63333
}

Semantic roles & 50–950 ramp

primary
#CFD946
secondary
#3B358F
accent
#3FE94B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD946

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

Preview Lab → · Contrast checker → · Palette generator →

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