#F2D75D#F2D75D

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

Color values

HEX#F2D75D
RGBrgb(242, 215, 93)
HSLhsl(49, 85%, 66%)
HSVhsv(49, 62%, 95%)
CMYKcmyk(0%, 11.2%, 61.6%, 5.1%)
CIE-LABlab(86.14, -4.55, 62.00)
CIE-LCHlch(86.14, 62.17, 94.20°)
OKLaboklab(87.9% -0.017 0.142)
OKLCHoklch(87.9% 0.143 96.8)
XYZxyz(62.8969, 68.2714, 20.2185)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D75D #5D78F2
analogous
#F28D5D #F2D75D #C2F25D
triadic
#F2D75D #5DF2D7 #D75DF2
tetradic
#F2D75D #5DF28D #5D78F2 #F25DC2
square
#F2D75D #5DF28D #5D78F2 #F25DC2
split-complementary
#F2D75D #5DC2F2 #8D5DF2
monochromatic
#C5A410 #EDC924 #F2D75D #F7E596 #FBF3CE

Accessibility & contrast

On white

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

On black

14.65
#F2D75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D75D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D75D#FFFFFF#000000##000000
##F2D75D1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d75d;
/* rgb */ color: rgb(242, 215, 93);
/* oklch */ color: oklch(87.9% 0.143 96.8);
Tailwind
colors: {
  custom: {
    50: '#fae38f',
    500: '#f2d75d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d75d;
$custom-light: #fae38f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d75d",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 93
  },
  "hsl": {
    "h": 49.128,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87902,
    "c": 0.14303,
    "h": 96.8
  },
  "luminance": 0.68268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D75D

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

Preview Lab → · Contrast checker → · Palette generator →

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