#FFD85F#FFD85F

#FFD85F is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.3% C 0.144 H 91.3°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#FFD85F
RGBrgb(255, 216, 95)
HSLhsl(45, 100%, 69%)
HSVhsv(45, 63%, 100%)
CMYKcmyk(0%, 15.3%, 62.7%, 0%)
CIE-LABlab(87.58, 0.42, 63.05)
CIE-LCHlch(87.58, 63.05, 89.62°)
OKLaboklab(89.32% -0.0033 0.1442)
OKLCHoklch(89.32% 0.144 91.3)
XYZxyz(67.8647, 71.2017, 20.9930)
Luminance0.7120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD85F #5F86FF
analogous
#FF885F #FFD85F #D6FF5F
triadic
#FFD85F #5FFFD8 #D85FFF
tetradic
#FFD85F #5FFF88 #5F86FF #FF5FD6
square
#FFD85F #5FFF88 #5F86FF #FF5FD6
split-complementary
#FFD85F #5FD6FF #885FFF
monochromatic
#E4AC00 #FFC922 #FFD85F #FFE79C #FFF6D9

Accessibility & contrast

On white

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

On black

15.24
#FFD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD85F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD85F#FFFFFF#000000##000000
##FFD85F1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED552
Deuteranopia (green-blind)
#F7E064
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ffd85f;
/* rgb */ color: rgb(255, 216, 95);
/* oklch */ color: oklch(89.3% 0.144 91.3);
Tailwind
colors: {
  custom: {
    50: '#ffe391',
    500: '#ffd85f',
    950: '#000000',
  },
}
SCSS
$custom: #ffd85f;
$custom-light: #ffe391;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd85f",
  "rgb": {
    "r": 255,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 45.375,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89321,
    "c": 0.14421,
    "h": 91.3
  },
  "luminance": 0.71198
}

Semantic roles & 50–950 ramp

primary
#FFD85F
secondary
#2954D9
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FFD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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