#CFD943#CFD943

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

Color values

HEX#CFD943
RGBrgb(207, 217, 67)
HSLhsl(64, 66%, 56%)
HSVhsv(64, 69%, 85%)
CMYKcmyk(4.6%, 0%, 69.1%, 14.9%)
CIE-LABlab(83.60, -21.52, 68.86)
CIE-LCHlch(83.60, 72.15, 107.36°)
OKLaboklab(85.12% -0.0658 0.1535)
OKLCHoklch(85.12% 0.167 113.2)
XYZxyz(51.5596, 63.2974, 14.8107)
Luminance0.6330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD943 #4D43D9
analogous
#D99843 #CFD943 #84D943
triadic
#CFD943 #43CFD9 #D943CF
tetradic
#CFD943 #43D998 #4D43D9 #D94384
square
#CFD943 #43D998 #4D43D9 #D94384
split-complementary
#CFD943 #4384D9 #9843D9
monochromatic
#7F861B #AFB925 #CFD943 #DCE376 #E9EEA9

Accessibility & contrast

On white

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

On black

13.66
#CFD943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD943
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD943#FFFFFF#000000##000000
##CFD9431.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2A
Deuteranopia (green-blind)
#E9D24E
Tritanopia (blue-blind)
#DDCCBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd943;
/* rgb */ color: rgb(207, 217, 67);
/* oklch */ color: oklch(85.1% 0.167 113.2);
Tailwind
colors: {
  custom: {
    50: '#e1e480',
    500: '#cfd943',
    950: '#000000',
  },
}
SCSS
$custom: #cfd943;
$custom-light: #e1e480;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd943",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 67
  },
  "hsl": {
    "h": 64,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85121,
    "c": 0.16704,
    "h": 113.2
  },
  "luminance": 0.63296
}

Semantic roles & 50–950 ramp

primary
#CFD943
secondary
#39338D
accent
#3FE94A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD943

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

Preview Lab → · Contrast checker → · Palette generator →

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