#F5D35E#F5D35E

#F5D35E is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.4% C 0.140 H 93.1°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#F5D35E
RGBrgb(245, 211, 94)
HSLhsl(46, 88%, 66%)
HSVhsv(46, 62%, 96%)
CMYKcmyk(0%, 13.9%, 61.6%, 3.9%)
CIE-LABlab(85.41, -1.22, 60.84)
CIE-LCHlch(85.41, 60.85, 91.15°)
OKLaboklab(87.39% -0.0075 0.1396)
OKLCHoklch(87.39% 0.14 93.1)
XYZxyz(62.9737, 66.8124, 20.1666)
Luminance0.6681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D35E #5E80F5
analogous
#F5885E #F5D35E #CCF55E
triadic
#F5D35E #5EF5D3 #D35EF5
tetradic
#F5D35E #5EF588 #5E80F5 #F55ECC
square
#F5D35E #5EF588 #5E80F5 #F55ECC
split-complementary
#F5D35E #5ECCF5 #885EF5
monochromatic
#CCA10D #F1C324 #F5D35E #F9E398 #FCF2D1

Accessibility & contrast

On white

1.46
#F5D35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#F5D35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D35E
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D35E#FFFFFF#000000##000000
##F5D35E1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D051
Deuteranopia (green-blind)
#F0DA63
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d35e;
/* rgb */ color: rgb(245, 211, 94);
/* oklch */ color: oklch(87.4% 0.140 93.1);
Tailwind
colors: {
  custom: {
    50: '#fce090',
    500: '#f5d35e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d35e;
$custom-light: #fce090;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d35e",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 94
  },
  "hsl": {
    "h": 46.49,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87388,
    "c": 0.13979,
    "h": 93.1
  },
  "luminance": 0.66809
}

Semantic roles & 50–950 ramp

primary
#F5D35E
secondary
#2F52C8
accent
#34E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D35E

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

Preview Lab → · Contrast checker → · Palette generator →

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