#F2F09D#F2F09D

#F2F09D is a very light, moderate yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.104 H 107.1°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#F2F09D
RGBrgb(242, 240, 157)
HSLhsl(59, 77%, 78%)
HSVhsv(59, 35%, 95%)
CMYKcmyk(0%, 0.8%, 35.1%, 5.1%)
CIE-LABlab(93.29, -11.39, 40.41)
CIE-LCHlch(93.29, 41.98, 105.74°)
OKLaboklab(93.82% -0.0305 0.0995)
OKLCHoklch(93.82% 0.104 107.1)
XYZxyz(73.8647, 83.6332, 44.1435)
Luminance0.8363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F09D #9D9FF2
analogous
#F2C59D #F2F09D #C9F29D
triadic
#F2F09D #9DF2F0 #F09DF2
tetradic
#F2F09D #9DF2C5 #9D9FF2 #F29DC9
square
#F2F09D #9DF2C5 #9D9FF2 #F29DC9
split-complementary
#F2F09D #9DC9F2 #C59DF2
monochromatic
#E4DF31 #EBE867 #F2F09D #F9F8D3 #FBFBE4

Accessibility & contrast

On white

1.18
#F2F09D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#F2F09D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F09D
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F09D#FFFFFF#000000##000000
##F2F09D1.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEA97
Deuteranopia (green-blind)
#FFEDA0
Tritanopia (blue-blind)
#FEE6DB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f09d;
/* rgb */ color: rgb(242, 240, 157);
/* oklch */ color: oklch(93.8% 0.104 107.1);
Tailwind
colors: {
  custom: {
    50: '#f7f4bb',
    500: '#f2f09d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f09d;
$custom-light: #f7f4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f09d",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 157
  },
  "hsl": {
    "h": 58.588,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93817,
    "c": 0.10403,
    "h": 107.1
  },
  "luminance": 0.83632
}

Semantic roles & 50–950 ramp

primary
#F2F09D
secondary
#6366D0
accent
#12D90D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2F09D

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

Preview Lab → · Contrast checker → · Palette generator →

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