#F5F682#F5F682

#F5F682 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.139 H 109.2°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#F5F682
RGBrgb(245, 246, 130)
HSLhsl(61, 87%, 74%)
HSVhsv(61, 47%, 96%)
CMYKcmyk(0.4%, 0%, 47.2%, 3.5%)
CIE-LABlab(94.71, -15.90, 55.24)
CIE-LCHlch(94.71, 57.49, 106.06°)
OKLaboklab(94.89% -0.0458 0.1313)
OKLCHoklch(94.89% 0.139 109.2)
XYZxyz(74.6428, 86.9374, 33.9633)
Luminance0.8694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F682 #8382F6
analogous
#F6BD82 #F5F682 #BBF682
triadic
#F5F682 #82F5F6 #F682F5
tetradic
#F5F682 #82F6BD #8382F6 #F682BB
square
#F5F682 #82F6BD #8382F6 #F682BB
split-complementary
#F5F682 #82BBF6 #BD82F6
monochromatic
#EBED11 #F0F249 #F5F682 #FAFABB #FDFDE2

Accessibility & contrast

On white

1.14
#F5F682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#F5F682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F682
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F682#FFFFFF#000000##000000
##F5F6821.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE78
Deuteranopia (green-blind)
#FFF288
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f682;
/* rgb */ color: rgb(245, 246, 130);
/* oklch */ color: oklch(94.9% 0.139 109.2);
Tailwind
colors: {
  custom: {
    50: '#faf9a9',
    500: '#f5f682',
    950: '#000000',
  },
}
SCSS
$custom: #f5f682;
$custom-light: #faf9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f682",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 130
  },
  "hsl": {
    "h": 60.517,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94888,
    "c": 0.13901,
    "h": 109.2
  },
  "luminance": 0.86936
}

Semantic roles & 50–950 ramp

primary
#F5F682
secondary
#4B4AD3
accent
#02E304
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F682

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

Preview Lab → · Contrast checker → · Palette generator →

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