#F2E25F#F2E25F

#F2E25F is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.1% C 0.151 H 102.4°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#F2E25F
RGBrgb(242, 226, 95)
HSLhsl(53, 85%, 66%)
HSVhsv(53, 61%, 95%)
CMYKcmyk(0%, 6.6%, 60.7%, 5.1%)
CIE-LABlab(88.97, -9.95, 64.24)
CIE-LCHlch(88.97, 65.00, 98.81°)
OKLaboklab(90.15% -0.0322 0.147)
OKLCHoklch(90.15% 0.151 102.4)
XYZxyz(65.8823, 74.0987, 21.6564)
Luminance0.7410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E25F #5F6FF2
analogous
#F2985F #F2E25F #B9F25F
triadic
#F2E25F #5FF2E2 #E25FF2
tetradic
#F2E25F #5FF298 #5F6FF2 #F25FB9
square
#F2E25F #5FF298 #5F6FF2 #F25FB9
split-complementary
#F2E25F #5FB9F2 #985FF2
monochromatic
#C6B310 #EDD826 #F2E25F #F7EC98 #FBF7D0

Accessibility & contrast

On white

1.33
#F2E25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#F2E25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E25F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E25F#FFFFFF#000000##000000
##F2E25F1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB50
Deuteranopia (green-blind)
#FAE366
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e25f;
/* rgb */ color: rgb(242, 226, 95);
/* oklch */ color: oklch(90.1% 0.151 102.4);
Tailwind
colors: {
  custom: {
    50: '#f9ea91',
    500: '#f2e25f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e25f;
$custom-light: #f9ea91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e25f",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 95
  },
  "hsl": {
    "h": 53.469,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90149,
    "c": 0.15051,
    "h": 102.4
  },
  "luminance": 0.74096
}

Semantic roles & 50–950 ramp

primary
#F2E25F
secondary
#3242C4
accent
#1CE104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E25F

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

Preview Lab → · Contrast checker → · Palette generator →

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