#F2EB60#F2EB60

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

Color values

HEX#F2EB60
RGBrgb(242, 235, 96)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 60%, 95%)
CMYKcmyk(0%, 2.9%, 60.3%, 5.1%)
CIE-LABlab(91.30, -14.34, 66.35)
CIE-LCHlch(91.30, 67.88, 102.19°)
OKLaboklab(92% -0.0446 0.1516)
OKLCHoklch(92% 0.158 106.4)
XYZxyz(68.4399, 79.1406, 22.7346)
Luminance0.7914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB60 #6067F2
analogous
#F2A260 #F2EB60 #B0F260
triadic
#F2EB60 #60F2EB #EB60F2
tetradic
#F2EB60 #60F2A2 #6067F2 #F260B0
square
#F2EB60 #60F2A2 #6067F2 #F260B0
split-complementary
#F2EB60 #60B0F2 #A260F2
monochromatic
#C7BF10 #EDE427 #F2EB60 #F7F299 #FBF9D1

Accessibility & contrast

On white

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

On black

16.83
#F2EB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB60
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB60#FFFFFF#000000##000000
##F2EB601.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE350
Deuteranopia (green-blind)
#FFE968
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb60;
/* rgb */ color: rgb(242, 235, 96);
/* oklch */ color: oklch(92.0% 0.158 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f193',
    500: '#f2eb60',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb60;
$custom-light: #f9f193;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb60",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 96
  },
  "hsl": {
    "h": 57.123,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92004,
    "c": 0.15806,
    "h": 106.4
  },
  "luminance": 0.79138
}

Semantic roles & 50–950 ramp

primary
#F2EB60
secondary
#3239C4
accent
#0FE104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EB60

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

Preview Lab → · Contrast checker → · Palette generator →

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