#F2F25D#F2F25D

#F2F25D is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.4% C 0.167 H 109.2°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F2F25D
RGBrgb(242, 242, 93)
HSLhsl(60, 85%, 66%)
HSVhsv(60, 62%, 95%)
CMYKcmyk(0%, 0%, 61.6%, 5.1%)
CIE-LABlab(93.09, -17.94, 69.49)
CIE-LCHlch(93.09, 71.77, 104.47°)
OKLaboklab(93.43% -0.0551 0.1579)
OKLCHoklch(93.43% 0.167 109.2)
XYZxyz(70.3481, 83.1738, 22.7022)
Luminance0.8317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F25D #5D5DF2
analogous
#F2A75D #F2F25D #A7F25D
triadic
#F2F25D #5DF2F2 #F25DF2
tetradic
#F2F25D #5DF2A7 #5D5DF2 #F25DA7
square
#F2F25D #5DF2A7 #5D5DF2 #F25DA7
split-complementary
#F2F25D #5DA7F2 #A75DF2
monochromatic
#C5C510 #EDED24 #F2F25D #F7F796 #FBFBCE

Accessibility & contrast

On white

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

On black

17.63
#F2F25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F25D
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F25D#FFFFFF#000000##000000
##F2F25D1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84A
Deuteranopia (green-blind)
#FFEE66
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f25d;
/* rgb */ color: rgb(242, 242, 93);
/* oklch */ color: oklch(93.4% 0.167 109.2);
Tailwind
colors: {
  custom: {
    50: '#faf691',
    500: '#f2f25d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f25d;
$custom-light: #faf691;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f25d",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93425,
    "c": 0.16723,
    "h": 109.2
  },
  "luminance": 0.83172
}

Semantic roles & 50–950 ramp

primary
#F2F25D
secondary
#3131C2
accent
#04E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F25D

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

Preview Lab → · Contrast checker → · Palette generator →

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