#F2F070#F2F070

#F2F070 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.2% C 0.150 H 108.2°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#F2F070
RGBrgb(242, 240, 112)
HSLhsl(59, 83%, 69%)
HSVhsv(59, 54%, 95%)
CMYKcmyk(0%, 0.8%, 53.7%, 5.1%)
CIE-LABlab(92.74, -15.65, 61.06)
CIE-LCHlch(92.74, 63.03, 104.38°)
OKLaboklab(93.2% -0.0467 0.1423)
OKLCHoklch(93.2% 0.15 108.2)
XYZxyz(70.7046, 82.3692, 27.5004)
Luminance0.8237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F070 #7072F2
analogous
#F2AF70 #F2F070 #B3F270
triadic
#F2F070 #70F2F0 #F070F2
tetradic
#F2F070 #70F2AF #7072F2 #F270B3
square
#F2F070 #70F2AF #7072F2 #F270B3
split-complementary
#F2F070 #70B3F2 #AF70F2
monochromatic
#D4D113 #EDEA38 #F2F070 #F7F6A8 #FCFCE0

Accessibility & contrast

On white

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

On black

17.47
#F2F070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F070
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F070#FFFFFF#000000##000000
##F2F0701.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f070;
/* rgb */ color: rgb(242, 240, 112);
/* oklch */ color: oklch(93.2% 0.150 108.2);
Tailwind
colors: {
  custom: {
    50: '#f9f49d',
    500: '#f2f070',
    950: '#000000',
  },
}
SCSS
$custom: #f2f070;
$custom-light: #f9f49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f070",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 59.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93197,
    "c": 0.14972,
    "h": 108.2
  },
  "luminance": 0.82367
}

Semantic roles & 50–950 ramp

primary
#F2F070
secondary
#3B3DCB
accent
#09E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F070

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

Preview Lab → · Contrast checker → · Palette generator →

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