#F2E95D#F2E95D

#F2E95D is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.6% C 0.158 H 105.6°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F2E95D
RGBrgb(242, 233, 93)
HSLhsl(56, 85%, 66%)
HSVhsv(56, 62%, 95%)
CMYKcmyk(0%, 3.7%, 61.6%, 5.1%)
CIE-LABlab(90.76, -13.55, 67.00)
CIE-LCHlch(90.76, 68.36, 101.43°)
OKLaboklab(91.56% -0.0427 0.1526)
OKLCHoklch(91.56% 0.158 105.6)
XYZxyz(67.7350, 77.9477, 21.8312)
Luminance0.7794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E95D #5D66F2
analogous
#F29E5D #F2E95D #B0F25D
triadic
#F2E95D #5DF2E9 #E95DF2
tetradic
#F2E95D #5DF29E #5D66F2 #F25DB0
square
#F2E95D #5DF29E #5D66F2 #F25DB0
split-complementary
#F2E95D #5DB0F2 #9E5DF2
monochromatic
#C5BA10 #EDE124 #F2E95D #F7F196 #FBF8CE

Accessibility & contrast

On white

1.27
#F2E95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F2E95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E95D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E95D#FFFFFF#000000##000000
##F2E95D1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14C
Deuteranopia (green-blind)
#FFE765
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e95d;
/* rgb */ color: rgb(242, 233, 93);
/* oklch */ color: oklch(91.6% 0.158 105.6);
Tailwind
colors: {
  custom: {
    50: '#f9ef91',
    500: '#f2e95d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e95d;
$custom-light: #f9ef91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e95d",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 93
  },
  "hsl": {
    "h": 56.376,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91564,
    "c": 0.15848,
    "h": 105.6
  },
  "luminance": 0.77945
}

Semantic roles & 50–950 ramp

primary
#F2E95D
secondary
#313AC2
accent
#11E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E95D

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

Preview Lab → · Contrast checker → · Palette generator →

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