#F2E15D#F2E15D

#F2E15D is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.9% C 0.151 H 102.0°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#F2E15D
RGBrgb(242, 225, 93)
HSLhsl(53, 85%, 66%)
HSVhsv(53, 62%, 95%)
CMYKcmyk(0%, 7%, 61.6%, 5.1%)
CIE-LABlab(88.70, -9.58, 64.78)
CIE-LCHlch(88.70, 65.49, 98.41°)
OKLaboklab(89.93% -0.0314 0.1479)
OKLCHoklch(89.93% 0.151 102)
XYZxyz(65.5215, 73.5206, 21.0934)
Luminance0.7352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E15D #5D6EF2
analogous
#F2965D #F2E15D #B9F25D
triadic
#F2E15D #5DF2E1 #E15DF2
tetradic
#F2E15D #5DF296 #5D6EF2 #F25DB9
square
#F2E15D #5DF296 #5D6EF2 #F25DB9
split-complementary
#F2E15D #5DB9F2 #965DF2
monochromatic
#C5B010 #EDD724 #F2E15D #F7EB96 #FBF6CE

Accessibility & contrast

On white

1.34
#F2E15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#F2E15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E15D
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E15D#FFFFFF#000000##000000
##F2E15D1.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA4E
Deuteranopia (green-blind)
#F9E264
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e15d;
/* rgb */ color: rgb(242, 225, 93);
/* oklch */ color: oklch(89.9% 0.151 102.0);
Tailwind
colors: {
  custom: {
    50: '#faea90',
    500: '#f2e15d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e15d;
$custom-light: #faea90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e15d",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 93
  },
  "hsl": {
    "h": 53.154,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.89926,
    "c": 0.15122,
    "h": 102
  },
  "luminance": 0.73518
}

Semantic roles & 50–950 ramp

primary
#F2E15D
secondary
#3142C2
accent
#1DE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E15D

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

Preview Lab → · Contrast checker → · Palette generator →

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