#F2EB5E#F2EB5E

#F2EB5E is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.0% C 0.160 H 106.4°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#F2EB5E
RGBrgb(242, 235, 94)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 61%, 95%)
CMYKcmyk(0%, 2.9%, 61.2%, 5.1%)
CIE-LABlab(91.28, -14.46, 67.16)
CIE-LCHlch(91.28, 68.70, 102.16°)
OKLaboklab(91.99% -0.0452 0.1531)
OKLCHoklch(91.99% 0.16 106.4)
XYZxyz(68.3490, 79.1043, 22.2558)
Luminance0.7910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB5E #5E65F2
analogous
#F2A15E #F2EB5E #AFF25E
triadic
#F2EB5E #5EF2EB #EB5EF2
tetradic
#F2EB5E #5EF2A1 #5E65F2 #F25EAF
square
#F2EB5E #5EF2A1 #5E65F2 #F25EAF
split-complementary
#F2EB5E #5EAFF2 #A15EF2
monochromatic
#C6BD10 #EDE425 #F2EB5E #F7F297 #FBF9CF

Accessibility & contrast

On white

1.25
#F2EB5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#F2EB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB5E
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB5E#FFFFFF#000000##000000
##F2EB5E1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34D
Deuteranopia (green-blind)
#FFE966
Tritanopia (blue-blind)
#FFDDCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb5e;
/* rgb */ color: rgb(242, 235, 94);
/* oklch */ color: oklch(92.0% 0.160 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f191',
    500: '#f2eb5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb5e;
$custom-light: #f9f191;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb5e",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 94
  },
  "hsl": {
    "h": 57.162,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91985,
    "c": 0.15961,
    "h": 106.4
  },
  "luminance": 0.79102
}

Semantic roles & 50–950 ramp

primary
#F2EB5E
secondary
#3138C3
accent
#0EE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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