#F5D46B#F5D46B

#F5D46B is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.7% C 0.130 H 92.1°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F5D46B
RGBrgb(245, 212, 107)
HSLhsl(46, 87%, 69%)
HSVhsv(46, 56%, 96%)
CMYKcmyk(0%, 13.5%, 56.3%, 3.9%)
CIE-LABlab(85.79, -0.82, 55.38)
CIE-LCHlch(85.79, 55.39, 90.85°)
OKLaboklab(87.73% -0.0048 0.1295)
OKLCHoklch(87.73% 0.13 92.1)
XYZxyz(63.8562, 67.5641, 23.5847)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D46B #6B8CF5
analogous
#F58F6B #F5D46B #D1F56B
triadic
#F5D46B #6BF5D4 #D46BF5
tetradic
#F5D46B #6BF58F #6B8CF5 #F56BD1
square
#F5D46B #6BF58F #6B8CF5 #F56BD1
split-complementary
#F5D46B #6BD1F5 #8F6BF5
monochromatic
#D7A70F #F1C332 #F5D46B #F9E5A4 #FDF5DE

Accessibility & contrast

On white

1.45
#F5D46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F5D46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D46B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D46B#FFFFFF#000000##000000
##F5D46B1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D161
Deuteranopia (green-blind)
#F0DB6F
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d46b;
/* rgb */ color: rgb(245, 212, 107);
/* oklch */ color: oklch(87.7% 0.130 92.1);
Tailwind
colors: {
  custom: {
    50: '#fbe098',
    500: '#f5d46b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d46b;
$custom-light: #fbe098;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d46b",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 107
  },
  "hsl": {
    "h": 45.652,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87729,
    "c": 0.12954,
    "h": 92.1
  },
  "luminance": 0.67561
}

Semantic roles & 50–950 ramp

primary
#F5D46B
secondary
#365ACE
accent
#38E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D46B

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

Preview Lab → · Contrast checker → · Palette generator →

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