#F2EA5F#F2EA5F

#F2EA5F is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.158 H 106.0°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#F2EA5F
RGBrgb(242, 234, 95)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 61%, 95%)
CMYKcmyk(0%, 3.3%, 60.7%, 5.1%)
CIE-LABlab(91.03, -13.91, 66.47)
CIE-LCHlch(91.03, 67.91, 101.82°)
OKLaboklab(91.79% -0.0435 0.1518)
OKLCHoklch(91.79% 0.158 106)
XYZxyz(68.1087, 78.5514, 22.3985)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA5F #5F67F2
analogous
#F2A05F #F2EA5F #B0F25F
triadic
#F2EA5F #5FF2EA #EA5FF2
tetradic
#F2EA5F #5FF2A0 #5F67F2 #F25FB0
square
#F2EA5F #5FF2A0 #5F67F2 #F25FB0
split-complementary
#F2EA5F #5FB0F2 #A05FF2
monochromatic
#C6BD10 #EDE326 #F2EA5F #F7F198 #FBF9D0

Accessibility & contrast

On white

1.26
#F2EA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#F2EA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA5F
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA5F#FFFFFF#000000##000000
##F2EA5F1.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE24F
Deuteranopia (green-blind)
#FFE867
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea5f;
/* rgb */ color: rgb(242, 234, 95);
/* oklch */ color: oklch(91.8% 0.158 106.0);
Tailwind
colors: {
  custom: {
    50: '#f9f092',
    500: '#f2ea5f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea5f;
$custom-light: #f9f092;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea5f",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 56.735,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91788,
    "c": 0.15788,
    "h": 106
  },
  "luminance": 0.78549
}

Semantic roles & 50–950 ramp

primary
#F2EA5F
secondary
#323AC4
accent
#10E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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