#FFD852#FFD852

#FFD852 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.2% C 0.154 H 92.6°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#FFD852
RGBrgb(255, 216, 82)
HSLhsl(46, 100%, 66%)
HSVhsv(46, 68%, 100%)
CMYKcmyk(0%, 15.3%, 67.8%, 0%)
CIE-LABlab(87.48, -0.32, 68.37)
CIE-LCHlch(87.48, 68.37, 90.27°)
OKLaboklab(89.2% -0.0069 0.1535)
OKLCHoklch(89.2% 0.154 92.6)
XYZxyz(67.3223, 70.9847, 18.1364)
Luminance0.7098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD852 #5279FF
analogous
#FF8152 #FFD852 #CFFF52
triadic
#FFD852 #52FFD8 #D852FF
tetradic
#FFD852 #52FF81 #5279FF #FF52CF
square
#FFD852 #52FF81 #5279FF #FF52CF
split-complementary
#FFD852 #52CFFF #8152FF
monochromatic
#D7A600 #FFCA15 #FFD852 #FFE68F #FFF4CC

Accessibility & contrast

On white

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

On black

15.20
#FFD852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD852
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD852#FFFFFF#000000##000000
##FFD8521.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED540
Deuteranopia (green-blind)
#F8E059
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ffd852;
/* rgb */ color: rgb(255, 216, 82);
/* oklch */ color: oklch(89.2% 0.154 92.6);
Tailwind
colors: {
  custom: {
    50: '#ffe389',
    500: '#ffd852',
    950: '#000000',
  },
}
SCSS
$custom: #ffd852;
$custom-light: #ffe389;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd852",
  "rgb": {
    "r": 255,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 46.474,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89204,
    "c": 0.15363,
    "h": 92.6
  },
  "luminance": 0.70981
}

Semantic roles & 50–950 ramp

primary
#FFD852
secondary
#254BD0
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD852

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

Preview Lab → · Contrast checker → · Palette generator →

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