#F2D75F#F2D75F

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

Color values

HEX#F2D75F
RGBrgb(242, 215, 95)
HSLhsl(49, 85%, 66%)
HSVhsv(49, 61%, 95%)
CMYKcmyk(0%, 11.2%, 60.7%, 5.1%)
CIE-LABlab(86.16, -4.42, 61.15)
CIE-LCHlch(86.16, 61.31, 94.14°)
OKLaboklab(87.92% -0.0164 0.1405)
OKLCHoklch(87.92% 0.141 96.7)
XYZxyz(62.9866, 68.3073, 20.6911)
Luminance0.6830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D75F #5F7AF2
analogous
#F28D5F #F2D75F #C3F25F
triadic
#F2D75F #5FF2D7 #D75FF2
tetradic
#F2D75F #5FF28D #5F7AF2 #F25FC3
square
#F2D75F #5FF28D #5F7AF2 #F25FC3
split-complementary
#F2D75F #5FC3F2 #8D5FF2
monochromatic
#C6A510 #EDC926 #F2D75F #F7E598 #FBF3D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D75F#FFFFFF#000000##000000
##F2D75F1.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)
#EBD252
Deuteranopia (green-blind)
#F2DB65
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d75f;
/* rgb */ color: rgb(242, 215, 95);
/* oklch */ color: oklch(87.9% 0.141 96.7);
Tailwind
colors: {
  custom: {
    50: '#fae391',
    500: '#f2d75f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d75f;
$custom-light: #fae391;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d75f",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 48.98,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87922,
    "c": 0.14142,
    "h": 96.7
  },
  "luminance": 0.68304
}

Semantic roles & 50–950 ramp

primary
#F2D75F
secondary
#324CC4
accent
#2DE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D75F

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

Preview Lab → · Contrast checker → · Palette generator →

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