#F5F083#F5F083

#F5F083 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.7% C 0.132 H 106.3°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F5F083
RGBrgb(245, 240, 131)
HSLhsl(57, 85%, 74%)
HSVhsv(57, 47%, 96%)
CMYKcmyk(0%, 2%, 46.5%, 3.9%)
CIE-LABlab(93.18, -12.88, 52.92)
CIE-LCHlch(93.18, 54.47, 103.68°)
OKLaboklab(93.67% -0.037 0.1262)
OKLCHoklch(93.67% 0.132 106.3)
XYZxyz(72.9147, 83.3733, 33.7200)
Luminance0.8337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F083 #8388F5
analogous
#F5B783 #F5F083 #C1F583
triadic
#F5F083 #83F5F0 #F083F5
tetradic
#F5F083 #83F5B7 #8388F5 #F583C1
square
#F5F083 #83F5B7 #8388F5 #F583C1
split-complementary
#F5F083 #83C1F5 #B783F5
monochromatic
#EBE113 #F0E94A #F5F083 #FAF7BC #FDFCE3

Accessibility & contrast

On white

1.19
#F5F083 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#F5F083 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F083
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F083#FFFFFF#000000##000000
##F5F0831.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97A
Deuteranopia (green-blind)
#FFEE88
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f083;
/* rgb */ color: rgb(245, 240, 131);
/* oklch */ color: oklch(93.7% 0.132 106.3);
Tailwind
colors: {
  custom: {
    50: '#faf4a9',
    500: '#f5f083',
    950: '#000000',
  },
}
SCSS
$custom: #f5f083;
$custom-light: #faf4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f083",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 131
  },
  "hsl": {
    "h": 57.368,
    "s": 85.075,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93671,
    "c": 0.13155,
    "h": 106.3
  },
  "luminance": 0.83371
}

Semantic roles & 50–950 ramp

primary
#F5F083
secondary
#4B51D1
accent
#0EE204
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F083

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

Preview Lab → · Contrast checker → · Palette generator →

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