#F2E95B#F2E95B

#F2E95B is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.5% C 0.160 H 105.7°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#F2E95B
RGBrgb(242, 233, 91)
HSLhsl(56, 85%, 65%)
HSVhsv(56, 62%, 95%)
CMYKcmyk(0%, 3.7%, 62.4%, 5.1%)
CIE-LABlab(90.74, -13.67, 67.80)
CIE-LCHlch(90.74, 69.17, 101.40°)
OKLaboklab(91.55% -0.0432 0.154)
OKLCHoklch(91.55% 0.16 105.7)
XYZxyz(67.6476, 77.9127, 21.3708)
Luminance0.7791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E95B #5B64F2
analogous
#F29E5B #F2E95B #AFF25B
triadic
#F2E95B #5BF2E9 #E95BF2
tetradic
#F2E95B #5BF29E #5B64F2 #F25BAF
square
#F2E95B #5BF29E #5B64F2 #F25BAF
split-complementary
#F2E95B #5BAFF2 #9E5BF2
monochromatic
#C3B80F #EEE122 #F2E95B #F6F194 #FBF8CC

Accessibility & contrast

On white

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

On black

16.58
#F2E95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E95B
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E95B#FFFFFF#000000##000000
##F2E95B1.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE149
Deuteranopia (green-blind)
#FFE763
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e95b;
/* rgb */ color: rgb(242, 233, 91);
/* oklch */ color: oklch(91.5% 0.160 105.7);
Tailwind
colors: {
  custom: {
    50: '#faef8f',
    500: '#f2e95b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e95b;
$custom-light: #faef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e95b",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 91
  },
  "hsl": {
    "h": 56.424,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.91547,
    "c": 0.15999,
    "h": 105.7
  },
  "luminance": 0.7791
}

Semantic roles & 50–950 ramp

primary
#F2E95B
secondary
#3139C1
accent
#11E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E95B

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

Preview Lab → · Contrast checker → · Palette generator →

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