#F2E35D#F2E35D

#F2E35D is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.3% C 0.153 H 102.9°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F2E35D
RGBrgb(242, 227, 93)
HSLhsl(54, 85%, 66%)
HSVhsv(54, 62%, 95%)
CMYKcmyk(0%, 6.2%, 61.6%, 5.1%)
CIE-LABlab(89.21, -10.58, 65.34)
CIE-LCHlch(89.21, 66.19, 99.20°)
OKLaboklab(90.33% -0.0342 0.1491)
OKLCHoklch(90.33% 0.153 102.9)
XYZxyz(66.0653, 74.6083, 21.2746)
Luminance0.7461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E35D #5D6CF2
analogous
#F2985D #F2E35D #B6F25D
triadic
#F2E35D #5DF2E3 #E35DF2
tetradic
#F2E35D #5DF298 #5D6CF2 #F25DB6
square
#F2E35D #5DF298 #5D6CF2 #F25DB6
split-complementary
#F2E35D #5DB6F2 #985DF2
monochromatic
#C5B310 #EDD924 #F2E35D #F7ED96 #FBF7CE

Accessibility & contrast

On white

1.32
#F2E35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#F2E35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E35D
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E35D#FFFFFF#000000##000000
##F2E35D1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4D
Deuteranopia (green-blind)
#FBE364
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e35d;
/* rgb */ color: rgb(242, 227, 93);
/* oklch */ color: oklch(90.3% 0.153 102.9);
Tailwind
colors: {
  custom: {
    50: '#faeb90',
    500: '#f2e35d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e35d;
$custom-light: #faeb90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e35d",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 93
  },
  "hsl": {
    "h": 53.96,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90334,
    "c": 0.15298,
    "h": 102.9
  },
  "luminance": 0.74606
}

Semantic roles & 50–950 ramp

primary
#F2E35D
secondary
#3140C2
accent
#1AE204
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E35D

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

Preview Lab → · Contrast checker → · Palette generator →

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