#FFD862#FFD862

#FFD862 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.4% C 0.142 H 91.0°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#FFD862
RGBrgb(255, 216, 98)
HSLhsl(45, 100%, 69%)
HSVhsv(45, 62%, 100%)
CMYKcmyk(0%, 15.3%, 61.6%, 0%)
CIE-LABlab(87.61, 0.61, 61.77)
CIE-LCHlch(87.61, 61.77, 89.44°)
OKLaboklab(89.35% -0.0024 0.1419)
OKLCHoklch(89.35% 0.142 91)
XYZxyz(68.0037, 71.2573, 21.7250)
Luminance0.7125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD862 #6289FF
analogous
#FF8A62 #FFD862 #D7FF62
triadic
#FFD862 #62FFD8 #D862FF
tetradic
#FFD862 #62FF8A #6289FF #FF62D7
square
#FFD862 #62FF8A #6289FF #FF62D7
split-complementary
#FFD862 #62D7FF #8A62FF
monochromatic
#E7AD00 #FFC925 #FFD862 #FFE79F #FFF6DC

Accessibility & contrast

On white

1.38
#FFD862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#FFD862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD862
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD862#FFFFFF#000000##000000
##FFD8621.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#F7E067
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd862;
/* rgb */ color: rgb(255, 216, 98);
/* oklch */ color: oklch(89.4% 0.142 91.0);
Tailwind
colors: {
  custom: {
    50: '#ffe393',
    500: '#ffd862',
    950: '#000000',
  },
}
SCSS
$custom: #ffd862;
$custom-light: #ffe393;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd862",
  "rgb": {
    "r": 255,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 45.096,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89351,
    "c": 0.14187,
    "h": 91
  },
  "luminance": 0.71254
}

Semantic roles & 50–950 ramp

primary
#FFD862
secondary
#2C57DA
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FFD862

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

Preview Lab → · Contrast checker → · Palette generator →

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