#F4F25C#F4F25C

#F4F25C is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.168 H 108.5°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#F4F25C
RGBrgb(244, 242, 92)
HSLhsl(59, 87%, 66%)
HSVhsv(59, 62%, 96%)
CMYKcmyk(0%, 0.8%, 62.3%, 4.3%)
CIE-LABlab(93.24, -17.19, 70.09)
CIE-LCHlch(93.24, 72.17, 103.78°)
OKLaboklab(93.58% -0.0532 0.159)
OKLCHoklch(93.58% 0.168 108.5)
XYZxyz(70.9944, 83.5121, 22.5028)
Luminance0.8351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F25C #5C5EF4
analogous
#F4A65C #F4F25C #AAF45C
triadic
#F4F25C #5CF4F2 #F25CF4
tetradic
#F4F25C #5CF4A6 #5C5EF4 #F45CAA
square
#F4F25C #5CF4A6 #5C5EF4 #F45CAA
split-complementary
#F4F25C #5CAAF4 #A65CF4
monochromatic
#C8C60E #F0ED23 #F4F25C #F8F795 #FCFBCF

Accessibility & contrast

On white

1.19
#F4F25C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#F4F25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F25C
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F25C#FFFFFF#000000##000000
##F4F25C1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE949
Deuteranopia (green-blind)
#FFEE65
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f4f25c;
/* rgb */ color: rgb(244, 242, 92);
/* oklch */ color: oklch(93.6% 0.168 108.5);
Tailwind
colors: {
  custom: {
    50: '#fbf691',
    500: '#f4f25c',
    950: '#000000',
  },
}
SCSS
$custom: #f4f25c;
$custom-light: #fbf691;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f25c",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 92
  },
  "hsl": {
    "h": 59.211,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93578,
    "c": 0.16765,
    "h": 108.5
  },
  "luminance": 0.8351
}

Semantic roles & 50–950 ramp

primary
#F4F25C
secondary
#2F31C5
accent
#05E402
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F4F25C

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

Preview Lab → · Contrast checker → · Palette generator →

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