#F2F37A#F2F37A

#F2F37A is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.9% C 0.144 H 109.3°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#F2F37A
RGBrgb(242, 243, 122)
HSLhsl(60, 83%, 72%)
HSVhsv(60, 50%, 95%)
CMYKcmyk(0.4%, 0%, 49.8%, 4.7%)
CIE-LABlab(93.62, -16.31, 57.57)
CIE-LCHlch(93.62, 59.84, 105.82°)
OKLaboklab(93.93% -0.0475 0.1357)
OKLCHoklch(93.93% 0.144 109.3)
XYZxyz(72.1830, 84.3853, 30.8941)
Luminance0.8438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F37A #7B7AF3
analogous
#F3B87A #F2F37A #B6F37A
triadic
#F2F37A #7AF2F3 #F37AF2
tetradic
#F2F37A #7AF3B8 #7B7AF3 #F37AB6
square
#F2F37A #7AF3B8 #7B7AF3 #F37AB6
split-complementary
#F2F37A #7AB6F3 #B87AF3
monochromatic
#DDDF14 #EDEE42 #F2F37A #F7F8B2 #FCFCE3

Accessibility & contrast

On white

1.17
#F2F37A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#F2F37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F37A
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F37A#FFFFFF#000000##000000
##F2F37A1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f37a;
/* rgb */ color: rgb(242, 243, 122);
/* oklch */ color: oklch(93.9% 0.144 109.3);
Tailwind
colors: {
  custom: {
    50: '#f8f6a3',
    500: '#f2f37a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f37a;
$custom-light: #f8f6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f37a",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 122
  },
  "hsl": {
    "h": 60.496,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93931,
    "c": 0.14379,
    "h": 109.3
  },
  "luminance": 0.84384
}

Semantic roles & 50–950 ramp

primary
#F2F37A
secondary
#4543CE
accent
#06E007
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F37A

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

Preview Lab → · Contrast checker → · Palette generator →

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