#F2F37D#F2F37D

#F2F37D is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.141 H 109.3°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#F2F37D
RGBrgb(242, 243, 125)
HSLhsl(61, 83%, 72%)
HSVhsv(61, 49%, 95%)
CMYKcmyk(0.4%, 0%, 48.6%, 4.7%)
CIE-LABlab(93.65, -16.05, 56.24)
CIE-LCHlch(93.65, 58.48, 105.93°)
OKLaboklab(93.97% -0.0465 0.1331)
OKLCHoklch(93.97% 0.141 109.3)
XYZxyz(72.3718, 84.4608, 31.8882)
Luminance0.8446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F37D #7E7DF3
analogous
#F3B97D #F2F37D #B7F37D
triadic
#F2F37D #7DF2F3 #F37DF2
tetradic
#F2F37D #7DF3B9 #7E7DF3 #F37DB7
square
#F2F37D #7DF3B9 #7E7DF3 #F37DB7
split-complementary
#F2F37D #7DB7F3 #B97DF3
monochromatic
#DFE115 #ECEE45 #F2F37D #F8F8B5 #FCFCE3

Accessibility & contrast

On white

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

On black

17.89
#F2F37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F37D
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F37D#FFFFFF#000000##000000
##F2F37D1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f37d;
/* rgb */ color: rgb(242, 243, 125);
/* oklch */ color: oklch(94.0% 0.141 109.3);
Tailwind
colors: {
  custom: {
    50: '#f8f6a5',
    500: '#f2f37d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f37d;
$custom-light: #f8f6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f37d",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 125
  },
  "hsl": {
    "h": 60.508,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93968,
    "c": 0.14095,
    "h": 109.3
  },
  "luminance": 0.84459
}

Semantic roles & 50–950 ramp

primary
#F2F37D
secondary
#4746CE
accent
#06E008
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F2F37D

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

Preview Lab → · Contrast checker → · Palette generator →

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