#F2E35F#F2E35F

#F2E35F is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.4% C 0.151 H 102.8°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#F2E35F
RGBrgb(242, 227, 95)
HSLhsl(54, 85%, 66%)
HSVhsv(54, 61%, 95%)
CMYKcmyk(0%, 6.2%, 60.7%, 5.1%)
CIE-LABlab(89.23, -10.45, 64.52)
CIE-LCHlch(89.23, 65.36, 99.20°)
OKLaboklab(90.35% -0.0337 0.1476)
OKLCHoklch(90.35% 0.151 102.8)
XYZxyz(66.1550, 74.6442, 21.7473)
Luminance0.7464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E35F #5F6EF2
analogous
#F2995F #F2E35F #B7F25F
triadic
#F2E35F #5FF2E3 #E35FF2
tetradic
#F2E35F #5FF299 #5F6EF2 #F25FB7
square
#F2E35F #5FF299 #5F6EF2 #F25FB7
split-complementary
#F2E35F #5FB7F2 #995FF2
monochromatic
#C6B410 #EDD926 #F2E35F #F7ED98 #FBF7D0

Accessibility & contrast

On white

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

On black

15.93
#F2E35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E35F
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E35F#FFFFFF#000000##000000
##F2E35F1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC50
Deuteranopia (green-blind)
#FBE366
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e35f;
/* rgb */ color: rgb(242, 227, 95);
/* oklch */ color: oklch(90.4% 0.151 102.8);
Tailwind
colors: {
  custom: {
    50: '#f9eb91',
    500: '#f2e35f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e35f;
$custom-light: #f9eb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e35f",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 95
  },
  "hsl": {
    "h": 53.878,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90353,
    "c": 0.15141,
    "h": 102.8
  },
  "luminance": 0.74642
}

Semantic roles & 50–950 ramp

primary
#F2E35F
secondary
#3241C4
accent
#1BE104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E35F

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

Preview Lab → · Contrast checker → · Palette generator →

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