#F2E05D#F2E05D

#F2E05D is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.7% C 0.150 H 101.5°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#F2E05D
RGBrgb(242, 224, 93)
HSLhsl(53, 85%, 66%)
HSVhsv(53, 62%, 95%)
CMYKcmyk(0%, 7.4%, 61.6%, 5.1%)
CIE-LABlab(88.44, -9.08, 64.51)
CIE-LCHlch(88.44, 65.14, 98.02°)
OKLaboklab(89.72% -0.03 0.1473)
OKLCHoklch(89.72% 0.15 101.5)
XYZxyz(65.2519, 72.9815, 21.0035)
Luminance0.7298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E05D #5D6FF2
analogous
#F2955D #F2E05D #B9F25D
triadic
#F2E05D #5DF2E0 #E05DF2
tetradic
#F2E05D #5DF295 #5D6FF2 #F25DB9
square
#F2E05D #5DF295 #5D6FF2 #F25DB9
split-complementary
#F2E05D #5DB9F2 #955DF2
monochromatic
#C5AF10 #EDD524 #F2E05D #F7EB96 #FBF6CE

Accessibility & contrast

On white

1.35
#F2E05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#F2E05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E05D
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E05D#FFFFFF#000000##000000
##F2E05D1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA4E
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e05d;
/* rgb */ color: rgb(242, 224, 93);
/* oklch */ color: oklch(89.7% 0.150 101.5);
Tailwind
colors: {
  custom: {
    50: '#fae990',
    500: '#f2e05d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e05d;
$custom-light: #fae990;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e05d",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 93
  },
  "hsl": {
    "h": 52.752,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.89722,
    "c": 0.15035,
    "h": 101.5
  },
  "luminance": 0.72979
}

Semantic roles & 50–950 ramp

primary
#F2E05D
secondary
#3143C2
accent
#1FE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E05D

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

Preview Lab → · Contrast checker → · Palette generator →

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