#F5F790#F5F790

#F5F790 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.3% C 0.126 H 109.5°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F5F790
RGBrgb(245, 247, 144)
HSLhsl(61, 87%, 77%)
HSVhsv(61, 42%, 97%)
CMYKcmyk(0.8%, 0%, 41.7%, 3.1%)
CIE-LABlab(95.14, -15.06, 49.15)
CIE-LCHlch(95.14, 51.41, 107.04°)
OKLaboklab(95.28% -0.0421 0.1187)
OKLCHoklch(95.28% 0.126 109.5)
XYZxyz(75.9522, 87.9491, 39.3550)
Luminance0.8795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F790 #9290F7
analogous
#F7C690 #F5F790 #C2F790
triadic
#F5F790 #90F5F7 #F790F5
tetradic
#F5F790 #90F7C6 #9290F7 #F790C2
square
#F5F790 #90F7C6 #9290F7 #F790C2
split-complementary
#F5F790 #90C2F7 #C690F7
monochromatic
#EBEF1E #F0F357 #F5F790 #FAFBC9 #FCFDE2

Accessibility & contrast

On white

1.13
#F5F790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#F5F790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F790
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F790#FFFFFF#000000##000000
##F5F7901.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF88
Deuteranopia (green-blind)
#FFF395
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f790;
/* rgb */ color: rgb(245, 247, 144);
/* oklch */ color: oklch(95.3% 0.126 109.5);
Tailwind
colors: {
  custom: {
    50: '#faf9b2',
    500: '#f5f790',
    950: '#000000',
  },
}
SCSS
$custom: #f5f790;
$custom-light: #faf9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f790",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 61.165,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.95283,
    "c": 0.12596,
    "h": 109.5
  },
  "luminance": 0.87948
}

Semantic roles & 50–950 ramp

primary
#F5F790
secondary
#5856D5
accent
#02E307
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F790

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

Preview Lab → · Contrast checker → · Palette generator →

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