#F2E25D#F2E25D

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

Color values

HEX#F2E25D
RGBrgb(242, 226, 93)
HSLhsl(54, 85%, 66%)
HSVhsv(54, 62%, 95%)
CMYKcmyk(0%, 6.6%, 61.6%, 5.1%)
CIE-LABlab(88.95, -10.08, 65.06)
CIE-LCHlch(88.95, 65.84, 98.81°)
OKLaboklab(90.13% -0.0328 0.1485)
OKLCHoklch(90.13% 0.152 102.5)
XYZxyz(65.7926, 74.0628, 21.1837)
Luminance0.7406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E25D #5D6DF2
analogous
#F2975D #F2E25D #B7F25D
triadic
#F2E25D #5DF2E2 #E25DF2
tetradic
#F2E25D #5DF297 #5D6DF2 #F25DB7
square
#F2E25D #5DF297 #5D6DF2 #F25DB7
split-complementary
#F2E25D #5DB7F2 #975DF2
monochromatic
#C5B110 #EDD824 #F2E25D #F7EC96 #FBF6CE

Accessibility & contrast

On white

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

On black

15.81
#F2E25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E25D
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E25D#FFFFFF#000000##000000
##F2E25D1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB4D
Deuteranopia (green-blind)
#FAE364
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e25d;
/* rgb */ color: rgb(242, 226, 93);
/* oklch */ color: oklch(90.1% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#faea90',
    500: '#f2e25d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e25d;
$custom-light: #faea90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e25d",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 93
  },
  "hsl": {
    "h": 53.557,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9013,
    "c": 0.1521,
    "h": 102.5
  },
  "luminance": 0.7406
}

Semantic roles & 50–950 ramp

primary
#F2E25D
secondary
#3141C2
accent
#1CE204
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E25D

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

Preview Lab → · Contrast checker → · Palette generator →

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