#F2F585#F2F585

#F2F585 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.135 H 110.1°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#F2F585
RGBrgb(242, 245, 133)
HSLhsl(62, 85%, 74%)
HSVhsv(62, 46%, 96%)
CMYKcmyk(1.2%, 0%, 45.7%, 3.9%)
CIE-LABlab(94.26, -16.31, 53.24)
CIE-LCHlch(94.26, 55.69, 107.03°)
OKLaboklab(94.48% -0.0465 0.1271)
OKLCHoklch(94.48% 0.135 110.1)
XYZxyz(73.5054, 85.8770, 34.8895)
Luminance0.8588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F585 #8885F5
analogous
#F5C085 #F2F585 #BAF585
triadic
#F2F585 #85F2F5 #F585F2
tetradic
#F2F585 #85F5C0 #8885F5 #F585BA
square
#F2F585 #85F5C0 #8885F5 #F585BA
split-complementary
#F2F585 #85BAF5 #C085F5
monochromatic
#E6EC14 #ECF04C #F2F585 #F8FABE #FCFDE3

Accessibility & contrast

On white

1.16
#F2F585 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#F2F585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F585
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F585#FFFFFF#000000##000000
##F2F5851.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7B
Deuteranopia (green-blind)
#FFF08A
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f585;
/* rgb */ color: rgb(242, 245, 133);
/* oklch */ color: oklch(94.5% 0.135 110.1);
Tailwind
colors: {
  custom: {
    50: '#f8f8ab',
    500: '#f2f585',
    950: '#000000',
  },
}
SCSS
$custom: #f2f585;
$custom-light: #f8f8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f585",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 133
  },
  "hsl": {
    "h": 61.607,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94483,
    "c": 0.13535,
    "h": 110.1
  },
  "luminance": 0.85876
}

Semantic roles & 50–950 ramp

primary
#F2F585
secondary
#504DD2
accent
#04E10A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F585

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

Preview Lab → · Contrast checker → · Palette generator →

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