#F2F36A#F2F36A

#F2F36A is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.158 H 109.5°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F2F36A
RGBrgb(242, 243, 106)
HSLhsl(60, 85%, 68%)
HSVhsv(60, 56%, 95%)
CMYKcmyk(0.4%, 0%, 56.4%, 4.7%)
CIE-LABlab(93.46, -17.56, 64.49)
CIE-LCHlch(93.46, 66.84, 105.23°)
OKLaboklab(93.75% -0.0527 0.149)
OKLCHoklch(93.75% 0.158 109.5)
XYZxyz(71.2720, 84.0209, 26.0961)
Luminance0.8402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F36A #6B6AF3
analogous
#F3AF6A #F2F36A #ADF36A
triadic
#F2F36A #6AF2F3 #F36AF2
tetradic
#F2F36A #6AF3AF #6B6AF3 #F36AAD
square
#F2F36A #6AF3AF #6B6AF3 #F36AAD
split-complementary
#F2F36A #6AADF3 #AF6AF3
monochromatic
#D0D211 #EDEE31 #F2F36A #F7F8A3 #FCFCDB

Accessibility & contrast

On white

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

On black

17.80
#F2F36A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F36A
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F36A#FFFFFF#000000##000000
##F2F36A1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5B
Deuteranopia (green-blind)
#FFEE72
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f36a;
/* rgb */ color: rgb(242, 243, 106);
/* oklch */ color: oklch(93.8% 0.158 109.5);
Tailwind
colors: {
  custom: {
    50: '#f9f699',
    500: '#f2f36a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f36a;
$custom-light: #f9f699;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f36a",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 106
  },
  "hsl": {
    "h": 60.438,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93754,
    "c": 0.158,
    "h": 109.5
  },
  "luminance": 0.84019
}

Semantic roles & 50–950 ramp

primary
#F2F36A
secondary
#3635CC
accent
#04E206
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F36A

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

Preview Lab → · Contrast checker → · Palette generator →

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