#CFD843#CFD843

#CFD843 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.9% C 0.166 H 112.8°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#CFD843
RGBrgb(207, 216, 67)
HSLhsl(64, 66%, 55%)
HSVhsv(64, 69%, 85%)
CMYKcmyk(4.2%, 0%, 69%, 15.3%)
CIE-LABlab(83.33, -21.04, 68.60)
CIE-LCHlch(83.33, 71.75, 107.05°)
OKLaboklab(84.91% -0.0644 0.153)
OKLCHoklch(84.91% 0.166 112.8)
XYZxyz(51.3026, 62.7835, 14.7250)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD843 #4C43D8
analogous
#D89643 #CFD843 #84D843
triadic
#CFD843 #43CFD8 #D843CF
tetradic
#CFD843 #43D896 #4C43D8 #D84384
square
#CFD843 #43D896 #4C43D8 #D84384
split-complementary
#CFD843 #4384D8 #9643D8
monochromatic
#7F851C #AFB826 #CFD843 #DCE376 #E9EDA8

Accessibility & contrast

On white

1.55
#CFD843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#CFD843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD843
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD843#FFFFFF#000000##000000
##CFD8431.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2A
Deuteranopia (green-blind)
#E8D14E
Tritanopia (blue-blind)
#DDCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd843;
/* rgb */ color: rgb(207, 216, 67);
/* oklch */ color: oklch(84.9% 0.166 112.8);
Tailwind
colors: {
  custom: {
    50: '#e1e380',
    500: '#cfd843',
    950: '#000000',
  },
}
SCSS
$custom: #cfd843;
$custom-light: #e1e380;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd843",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 63.624,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84905,
    "c": 0.16599,
    "h": 112.8
  },
  "luminance": 0.62782
}

Semantic roles & 50–950 ramp

primary
#CFD843
secondary
#39348C
accent
#3FE949
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD843

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

Preview Lab → · Contrast checker → · Palette generator →

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