#F2F370#F2F370

#F2F370 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.8% C 0.153 H 109.4°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#F2F370
RGBrgb(242, 243, 112)
HSLhsl(60, 85%, 70%)
HSVhsv(60, 54%, 95%)
CMYKcmyk(0.4%, 0%, 53.9%, 4.7%)
CIE-LABlab(93.52, -17.11, 61.94)
CIE-LCHlch(93.52, 64.27, 105.44°)
OKLaboklab(93.82% -0.0508 0.1442)
OKLCHoklch(93.82% 0.153 109.4)
XYZxyz(71.5950, 84.1501, 27.7972)
Luminance0.8415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F370 #7170F3
analogous
#F3B370 #F2F370 #B1F370
triadic
#F2F370 #70F2F3 #F370F2
tetradic
#F2F370 #70F3B3 #7170F3 #F370B1
square
#F2F370 #70F3B3 #7170F3 #F370B1
split-complementary
#F2F370 #70B1F3 #B370F3
monochromatic
#D5D712 #EDEE38 #F2F370 #F7F8A8 #FCFCE1

Accessibility & contrast

On white

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

On black

17.83
#F2F370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F370
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F370#FFFFFF#000000##000000
##F2F3701.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f370;
/* rgb */ color: rgb(242, 243, 112);
/* oklch */ color: oklch(93.8% 0.153 109.4);
Tailwind
colors: {
  custom: {
    50: '#f9f69d',
    500: '#f2f370',
    950: '#000000',
  },
}
SCSS
$custom: #f2f370;
$custom-light: #f9f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f370",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 60.458,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93817,
    "c": 0.15286,
    "h": 109.4
  },
  "luminance": 0.84148
}

Semantic roles & 50–950 ramp

primary
#F2F370
secondary
#3C3BCD
accent
#05E106
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F370

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

Preview Lab → · Contrast checker → · Palette generator →

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