#F2F435#F2F435

#F2F435 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.6% C 0.192 H 110.2°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F2F435
RGBrgb(242, 244, 53)
HSLhsl(61, 90%, 58%)
HSVhsv(61, 78%, 96%)
CMYKcmyk(0.8%, 0%, 78.3%, 4.3%)
CIE-LABlab(93.38, -20.76, 83.30)
CIE-LCHlch(93.38, 85.85, 104.00°)
OKLaboklab(93.58% -0.0666 0.1806)
OKLCHoklch(93.58% 0.192 110.2)
XYZxyz(69.6139, 83.8377, 15.8827)
Luminance0.8384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F435 #3735F4
analogous
#F49635 #F2F435 #93F435
triadic
#F2F435 #35F2F4 #F435F2
tetradic
#F2F435 #35F496 #3735F4 #F43593
square
#F2F435 #35F496 #3735F4 #F43593
split-complementary
#F2F435 #3593F4 #9635F4
monochromatic
#A4A609 #DDE00C #F2F435 #F6F76F #F9FAA9

Accessibility & contrast

On white

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

On black

17.77
#F2F435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F435
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F435#FFFFFF#000000##000000
##F2F4351.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE900
Deuteranopia (green-blind)
#FFEE47
Tritanopia (blue-blind)
#FFE4D1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f435;
/* rgb */ color: rgb(242, 244, 53);
/* oklch */ color: oklch(93.6% 0.192 110.2);
Tailwind
colors: {
  custom: {
    50: '#fbf77d',
    500: '#f2f435',
    950: '#000000',
  },
}
SCSS
$custom: #f2f435;
$custom-light: #fbf77d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f435",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 53
  },
  "hsl": {
    "h": 60.628,
    "s": 89.671,
    "l": 58.235
  },
  "oklch": {
    "l": 0.93582,
    "c": 0.19249,
    "h": 110.2
  },
  "luminance": 0.83836
}

Semantic roles & 50–950 ramp

primary
#F2F435
secondary
#2826A7
accent
#29FF2B
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18170B
muted
#86857E

Preview Lab

Preview with #F2F435

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

Preview Lab → · Contrast checker → · Palette generator →

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