#F2EB5D#F2EB5D

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

Color values

HEX#F2EB5D
RGBrgb(242, 235, 93)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 62%, 95%)
CMYKcmyk(0%, 2.9%, 61.6%, 5.1%)
CIE-LABlab(91.27, -14.53, 67.56)
CIE-LCHlch(91.27, 69.10, 102.14°)
OKLaboklab(91.98% -0.0455 0.1538)
OKLCHoklch(91.98% 0.16 106.5)
XYZxyz(68.3044, 79.0864, 22.0210)
Luminance0.7908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB5D #5D64F2
analogous
#F2A05D #F2EB5D #AEF25D
triadic
#F2EB5D #5DF2EB #EB5DF2
tetradic
#F2EB5D #5DF2A0 #5D64F2 #F25DAE
square
#F2EB5D #5DF2A0 #5D64F2 #F25DAE
split-complementary
#F2EB5D #5DAEF2 #A05DF2
monochromatic
#C5BC10 #EDE424 #F2EB5D #F7F296 #FBF9CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EB5D#FFFFFF#000000##000000
##F2EB5D1.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)
#FEE34C
Deuteranopia (green-blind)
#FFE965
Tritanopia (blue-blind)
#FFDDCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb5d;
/* rgb */ color: rgb(242, 235, 93);
/* oklch */ color: oklch(92.0% 0.160 106.5);
Tailwind
colors: {
  custom: {
    50: '#f9f191',
    500: '#f2eb5d',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb5d;
$custom-light: #f9f191;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb5d",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 57.181,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91976,
    "c": 0.16037,
    "h": 106.5
  },
  "luminance": 0.79084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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