#F5D36B#F5D36B

#F5D36B is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.5% C 0.129 H 91.5°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#F5D36B
RGBrgb(245, 211, 107)
HSLhsl(45, 87%, 69%)
HSVhsv(45, 56%, 96%)
CMYKcmyk(0%, 13.9%, 56.3%, 3.9%)
CIE-LABlab(85.54, -0.31, 55.09)
CIE-LCHlch(85.54, 55.09, 90.33°)
OKLaboklab(87.53% -0.0033 0.1288)
OKLCHoklch(87.53% 0.129 91.5)
XYZxyz(63.6070, 67.0657, 23.5017)
Luminance0.6706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D36B #6B8DF5
analogous
#F58E6B #F5D36B #D2F56B
triadic
#F5D36B #6BF5D3 #D36BF5
tetradic
#F5D36B #6BF58E #6B8DF5 #F56BD2
square
#F5D36B #6BF58E #6B8DF5 #F56BD2
split-complementary
#F5D36B #6BD2F5 #8E6BF5
monochromatic
#D7A60F #F1C232 #F5D36B #F9E4A4 #FDF5DE

Accessibility & contrast

On white

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

On black

14.41
#F5D36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D36B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D36B#FFFFFF#000000##000000
##F5D36B1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D061
Deuteranopia (green-blind)
#EFDA6F
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d36b;
/* rgb */ color: rgb(245, 211, 107);
/* oklch */ color: oklch(87.5% 0.129 91.5);
Tailwind
colors: {
  custom: {
    50: '#fbe098',
    500: '#f5d36b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d36b;
$custom-light: #fbe098;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d36b",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 107
  },
  "hsl": {
    "h": 45.217,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87531,
    "c": 0.12885,
    "h": 91.5
  },
  "luminance": 0.67063
}

Semantic roles & 50–950 ramp

primary
#F5D36B
secondary
#365BCE
accent
#39E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D36B

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

Preview Lab → · Contrast checker → · Palette generator →

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