#F2F075#F2F075

#F2F075 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.145 H 108.1°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#F2F075
RGBrgb(242, 240, 117)
HSLhsl(59, 83%, 70%)
HSVhsv(59, 52%, 95%)
CMYKcmyk(0%, 0.8%, 51.7%, 5.1%)
CIE-LABlab(92.79, -15.26, 58.87)
CIE-LCHlch(92.79, 60.82, 104.53°)
OKLaboklab(93.25% -0.045 0.1381)
OKLCHoklch(93.25% 0.145 108.1)
XYZxyz(70.9907, 82.4836, 29.0075)
Luminance0.8248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F075 #7577F2
analogous
#F2B175 #F2F075 #B5F275
triadic
#F2F075 #75F2F0 #F075F2
tetradic
#F2F075 #75F2B1 #7577F2 #F275B5
square
#F2F075 #75F2B1 #7577F2 #F275B5
split-complementary
#F2F075 #75B5F2 #B175F2
monochromatic
#D8D514 #EDEA3D #F2F075 #F7F6AD #FCFCE3

Accessibility & contrast

On white

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

On black

17.50
#F2F075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F075
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F075#FFFFFF#000000##000000
##F2F0751.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f075;
/* rgb */ color: rgb(242, 240, 117);
/* oklch */ color: oklch(93.3% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#f9f4a0',
    500: '#f2f075',
    950: '#000000',
  },
}
SCSS
$custom: #f2f075;
$custom-light: #f9f4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f075",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 117
  },
  "hsl": {
    "h": 59.04,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93253,
    "c": 0.14523,
    "h": 108.1
  },
  "luminance": 0.82482
}

Semantic roles & 50–950 ramp

primary
#F2F075
secondary
#3F42CC
accent
#0ADF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F075

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

Preview Lab → · Contrast checker → · Palette generator →

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