#F5D05E#F5D05E

#F5D05E is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.8% C 0.138 H 91.3°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#F5D05E
RGBrgb(245, 208, 94)
HSLhsl(45, 88%, 66%)
HSVhsv(45, 62%, 96%)
CMYKcmyk(0%, 15.1%, 61.6%, 3.9%)
CIE-LABlab(84.66, 0.32, 60.01)
CIE-LCHlch(84.66, 60.01, 89.70°)
OKLaboklab(86.79% -0.0031 0.1378)
OKLCHoklch(86.79% 0.138 91.3)
XYZxyz(62.2354, 65.3357, 19.9205)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D05E #5E83F5
analogous
#F5855E #F5D05E #CFF55E
triadic
#F5D05E #5EF5D0 #D05EF5
tetradic
#F5D05E #5EF585 #5E83F5 #F55ECF
square
#F5D05E #5EF585 #5E83F5 #F55ECF
split-complementary
#F5D05E #5ECFF5 #855EF5
monochromatic
#CC9D0D #F1BF24 #F5D05E #F9E198 #FCF2D1

Accessibility & contrast

On white

1.49
#F5D05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#F5D05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D05E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D05E#FFFFFF#000000##000000
##F5D05E1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD52
Deuteranopia (green-blind)
#EED863
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d05e;
/* rgb */ color: rgb(245, 208, 94);
/* oklch */ color: oklch(86.8% 0.138 91.3);
Tailwind
colors: {
  custom: {
    50: '#fcde90',
    500: '#f5d05e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d05e;
$custom-light: #fcde90;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d05e",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 45.298,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86794,
    "c": 0.13784,
    "h": 91.3
  },
  "luminance": 0.65332
}

Semantic roles & 50–950 ramp

primary
#F5D05E
secondary
#2F55C8
accent
#39E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D05E

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

Preview Lab → · Contrast checker → · Palette generator →

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