#F5F066#F5F066

#F5F066 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.3% C 0.158 H 107.2°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#F5F066
RGBrgb(245, 240, 102)
HSLhsl(58, 88%, 68%)
HSVhsv(58, 58%, 96%)
CMYKcmyk(0%, 2%, 58.4%, 3.9%)
CIE-LABlab(92.88, -15.18, 65.62)
CIE-LCHlch(92.88, 67.35, 103.02°)
OKLaboklab(93.34% -0.0465 0.1508)
OKLCHoklch(93.34% 0.158 107.2)
XYZxyz(71.2168, 82.6941, 24.7779)
Luminance0.8269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F066 #666BF5
analogous
#F5A866 #F5F066 #B2F566
triadic
#F5F066 #66F5F0 #F066F5
tetradic
#F5F066 #66F5A8 #666BF5 #F566B2
square
#F5F066 #66F5A8 #666BF5 #F566B2
split-complementary
#F5F066 #66B2F5 #A866F5
monochromatic
#D3CC0E #F1EA2D #F5F066 #F9F69F #FDFBD9

Accessibility & contrast

On white

1.20
#F5F066 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#F5F066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F066
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F066#FFFFFF#000000##000000
##F5F0661.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE757
Deuteranopia (green-blind)
#FFED6E
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f066;
/* rgb */ color: rgb(245, 240, 102);
/* oklch */ color: oklch(93.3% 0.158 107.2);
Tailwind
colors: {
  custom: {
    50: '#fbf497',
    500: '#f5f066',
    950: '#000000',
  },
}
SCSS
$custom: #f5f066;
$custom-light: #fbf497;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f066",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 102
  },
  "hsl": {
    "h": 57.902,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93338,
    "c": 0.15783,
    "h": 107.2
  },
  "luminance": 0.82692
}

Semantic roles & 50–950 ramp

primary
#F5F066
secondary
#3137CE
accent
#09E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F066

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

Preview Lab → · Contrast checker → · Palette generator →

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