#F2F36B#F2F36B

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

Color values

HEX#F2F36B
RGBrgb(242, 243, 107)
HSLhsl(60, 85%, 69%)
HSVhsv(60, 56%, 95%)
CMYKcmyk(0.4%, 0%, 56%, 4.7%)
CIE-LABlab(93.47, -17.48, 64.07)
CIE-LCHlch(93.47, 66.41, 105.26°)
OKLaboklab(93.77% -0.0524 0.1482)
OKLCHoklch(93.77% 0.157 109.5)
XYZxyz(71.3243, 84.0418, 26.3716)
Luminance0.8404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F36B #6C6BF3
analogous
#F3B06B #F2F36B #AEF36B
triadic
#F2F36B #6BF2F3 #F36BF2
tetradic
#F2F36B #6BF3B0 #6C6BF3 #F36BAE
square
#F2F36B #6BF3B0 #6C6BF3 #F36BAE
split-complementary
#F2F36B #6BAEF3 #B06BF3
monochromatic
#D1D311 #EDEE32 #F2F36B #F7F8A4 #FCFCDC

Accessibility & contrast

On white

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

On black

17.81
#F2F36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F36B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F36B#FFFFFF#000000##000000
##F2F36B1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f36b;
/* rgb */ color: rgb(242, 243, 107);
/* oklch */ color: oklch(93.8% 0.157 109.5);
Tailwind
colors: {
  custom: {
    50: '#f9f69a',
    500: '#f2f36b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f36b;
$custom-light: #f9f69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f36b",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 107
  },
  "hsl": {
    "h": 60.441,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93765,
    "c": 0.15716,
    "h": 109.5
  },
  "luminance": 0.8404
}

Semantic roles & 50–950 ramp

primary
#F2F36B
secondary
#3736CC
accent
#04E106
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F36B

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

Preview Lab → · Contrast checker → · Palette generator →

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