#F2D75C#F2D75C

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

Color values

HEX#F2D75C
RGBrgb(242, 215, 92)
HSLhsl(49, 85%, 65%)
HSVhsv(49, 62%, 95%)
CMYKcmyk(0%, 11.2%, 62%, 5.1%)
CIE-LABlab(86.13, -4.62, 62.43)
CIE-LCHlch(86.13, 62.60, 94.23°)
OKLaboklab(87.89% -0.0173 0.1428)
OKLCHoklch(87.89% 0.144 96.9)
XYZxyz(62.8529, 68.2538, 19.9868)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D75C #5C77F2
analogous
#F28C5C #F2D75C #C2F25C
triadic
#F2D75C #5CF2D7 #D75CF2
tetradic
#F2D75C #5CF28C #5C77F2 #F25CC2
square
#F2D75C #5CF28C #5C77F2 #F25CC2
split-complementary
#F2D75C #5CC2F2 #8C5CF2
monochromatic
#C4A410 #EDC923 #F2D75C #F7E595 #FBF3CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D75C#FFFFFF#000000##000000
##F2D75C1.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)
#EBD24E
Deuteranopia (green-blind)
#F2DB62
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d75c;
/* rgb */ color: rgb(242, 215, 92);
/* oklch */ color: oklch(87.9% 0.144 96.9);
Tailwind
colors: {
  custom: {
    50: '#fae38f',
    500: '#f2d75c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d75c;
$custom-light: #fae38f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d75c",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 92
  },
  "hsl": {
    "h": 49.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87892,
    "c": 0.14382,
    "h": 96.9
  },
  "luminance": 0.68251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D75C

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

Preview Lab → · Contrast checker → · Palette generator →

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