#F2EB5F#F2EB5F

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

Color values

HEX#F2EB5F
RGBrgb(242, 235, 95)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 61%, 95%)
CMYKcmyk(0%, 2.9%, 60.7%, 5.1%)
CIE-LABlab(91.29, -14.40, 66.75)
CIE-LCHlch(91.29, 68.29, 102.17°)
OKLaboklab(91.99% -0.0449 0.1524)
OKLCHoklch(91.99% 0.159 106.4)
XYZxyz(68.3941, 79.1223, 22.4937)
Luminance0.7912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB5F #5F66F2
analogous
#F2A15F #F2EB5F #AFF25F
triadic
#F2EB5F #5FF2EB #EB5FF2
tetradic
#F2EB5F #5FF2A1 #5F66F2 #F25FAF
square
#F2EB5F #5FF2A1 #5F66F2 #F25FAF
split-complementary
#F2EB5F #5FAFF2 #A15FF2
monochromatic
#C6BE10 #EDE426 #F2EB5F #F7F298 #FBF9D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EB5F#FFFFFF#000000##000000
##F2EB5F1.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)
#FDE34E
Deuteranopia (green-blind)
#FFE967
Tritanopia (blue-blind)
#FFDDCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb5f;
/* rgb */ color: rgb(242, 235, 95);
/* oklch */ color: oklch(92.0% 0.159 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f192',
    500: '#f2eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb5f;
$custom-light: #f9f192;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb5f",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 57.143,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91994,
    "c": 0.15884,
    "h": 106.4
  },
  "luminance": 0.7912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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