#F2F05D#F2F05D

#F2F05D is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.0% C 0.165 H 108.5°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F2F05D
RGBrgb(242, 240, 93)
HSLhsl(59, 85%, 66%)
HSVhsv(59, 62%, 95%)
CMYKcmyk(0%, 0.8%, 61.6%, 5.1%)
CIE-LABlab(92.57, -16.97, 68.94)
CIE-LCHlch(92.57, 71.00, 103.83°)
OKLaboklab(93.01% -0.0524 0.1567)
OKLCHoklch(93.01% 0.165 108.5)
XYZxyz(69.7561, 81.9898, 22.5049)
Luminance0.8199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F05D #5D5FF2
analogous
#F2A65D #F2F05D #A9F25D
triadic
#F2F05D #5DF2F0 #F05DF2
tetradic
#F2F05D #5DF2A6 #5D5FF2 #F25DA9
square
#F2F05D #5DF2A6 #5D5FF2 #F25DA9
split-complementary
#F2F05D #5DA9F2 #A65DF2
monochromatic
#C5C210 #EDEB24 #F2F05D #F7F596 #FBFACE

Accessibility & contrast

On white

1.21
#F2F05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#F2F05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F05D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F05D#FFFFFF#000000##000000
##F2F05D1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74B
Deuteranopia (green-blind)
#FFEC66
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f05d;
/* rgb */ color: rgb(242, 240, 93);
/* oklch */ color: oklch(93.0% 0.165 108.5);
Tailwind
colors: {
  custom: {
    50: '#faf491',
    500: '#f2f05d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f05d;
$custom-light: #faf491;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f05d",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 93
  },
  "hsl": {
    "h": 59.195,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9301,
    "c": 0.16524,
    "h": 108.5
  },
  "luminance": 0.81988
}

Semantic roles & 50–950 ramp

primary
#F2F05D
secondary
#3133C2
accent
#07E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F05D

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

Preview Lab → · Contrast checker → · Palette generator →

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