#F2EA5D#F2EA5D

#F2EA5D is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.159 H 106.1°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#F2EA5D
RGBrgb(242, 234, 93)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 62%, 95%)
CMYKcmyk(0%, 3.3%, 61.6%, 5.1%)
CIE-LABlab(91.01, -14.04, 67.28)
CIE-LCHlch(91.01, 68.73, 101.78°)
OKLaboklab(91.77% -0.0441 0.1532)
OKLCHoklch(91.77% 0.159 106.1)
XYZxyz(68.0189, 78.5155, 21.9258)
Luminance0.7851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA5D #5D65F2
analogous
#F2A05D #F2EA5D #AFF25D
triadic
#F2EA5D #5DF2EA #EA5DF2
tetradic
#F2EA5D #5DF2A0 #5D65F2 #F25DAF
square
#F2EA5D #5DF2A0 #5D65F2 #F25DAF
split-complementary
#F2EA5D #5DAFF2 #A05DF2
monochromatic
#C5BB10 #EDE324 #F2EA5D #F7F196 #FBF9CE

Accessibility & contrast

On white

1.26
#F2EA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#F2EA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA5D
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA5D#FFFFFF#000000##000000
##F2EA5D1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE24C
Deuteranopia (green-blind)
#FFE865
Tritanopia (blue-blind)
#FFDCCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea5d;
/* rgb */ color: rgb(242, 234, 93);
/* oklch */ color: oklch(91.8% 0.159 106.1);
Tailwind
colors: {
  custom: {
    50: '#f9f091',
    500: '#f2ea5d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea5d;
$custom-light: #f9f091;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea5d",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 93
  },
  "hsl": {
    "h": 56.779,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9177,
    "c": 0.15943,
    "h": 106.1
  },
  "luminance": 0.78513
}

Semantic roles & 50–950 ramp

primary
#F2EA5D
secondary
#3139C2
accent
#10E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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