#F2D75E#F2D75E

#F2D75E is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.142 H 96.8°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#F2D75E
RGBrgb(242, 215, 94)
HSLhsl(49, 85%, 66%)
HSVhsv(49, 61%, 95%)
CMYKcmyk(0%, 11.2%, 61.2%, 5.1%)
CIE-LABlab(86.15, -4.49, 61.58)
CIE-LCHlch(86.15, 61.74, 94.17°)
OKLaboklab(87.91% -0.0167 0.1412)
OKLCHoklch(87.91% 0.142 96.8)
XYZxyz(62.9415, 68.2892, 20.4533)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D75E #5E79F2
analogous
#F28D5E #F2D75E #C3F25E
triadic
#F2D75E #5EF2D7 #D75EF2
tetradic
#F2D75E #5EF28D #5E79F2 #F25EC3
square
#F2D75E #5EF28D #5E79F2 #F25EC3
split-complementary
#F2D75E #5EC3F2 #8D5EF2
monochromatic
#C6A410 #EDC925 #F2D75E #F7E597 #FBF3CF

Accessibility & contrast

On white

1.43
#F2D75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#F2D75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D75E
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D75E#FFFFFF#000000##000000
##F2D75E1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD251
Deuteranopia (green-blind)
#F2DB64
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d75e;
/* rgb */ color: rgb(242, 215, 94);
/* oklch */ color: oklch(87.9% 0.142 96.8);
Tailwind
colors: {
  custom: {
    50: '#fae390',
    500: '#f2d75e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d75e;
$custom-light: #fae390;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d75e",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 94
  },
  "hsl": {
    "h": 49.054,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87912,
    "c": 0.14223,
    "h": 96.8
  },
  "luminance": 0.68286
}

Semantic roles & 50–950 ramp

primary
#F2D75E
secondary
#314CC3
accent
#2CE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D75E

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

Preview Lab → · Contrast checker → · Palette generator →

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