#F2D75B#F2D75B

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

Color values

HEX#F2D75B
RGBrgb(242, 215, 91)
HSLhsl(49, 85%, 65%)
HSVhsv(49, 62%, 95%)
CMYKcmyk(0%, 11.2%, 62.4%, 5.1%)
CIE-LABlab(86.12, -4.68, 62.85)
CIE-LCHlch(86.12, 63.02, 94.26°)
OKLaboklab(87.88% -0.0176 0.1435)
OKLCHoklch(87.88% 0.145 97)
XYZxyz(62.8094, 68.2364, 19.7581)
Luminance0.6823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D75B #5B76F2
analogous
#F28C5B #F2D75B #C1F25B
triadic
#F2D75B #5BF2D7 #D75BF2
tetradic
#F2D75B #5BF28C #5B76F2 #F25BC1
square
#F2D75B #5BF28C #5B76F2 #F25BC1
split-complementary
#F2D75B #5BC1F2 #8C5BF2
monochromatic
#C3A30F #EEC922 #F2D75B #F6E594 #FBF3CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D75B#FFFFFF#000000##000000
##F2D75B1.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)
#EBD24D
Deuteranopia (green-blind)
#F2DB61
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d75b;
/* rgb */ color: rgb(242, 215, 91);
/* oklch */ color: oklch(87.9% 0.145 97.0);
Tailwind
colors: {
  custom: {
    50: '#fae38e',
    500: '#f2d75b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d75b;
$custom-light: #fae38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d75b",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 91
  },
  "hsl": {
    "h": 49.272,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87882,
    "c": 0.14461,
    "h": 97
  },
  "luminance": 0.68233
}

Semantic roles & 50–950 ramp

primary
#F2D75B
secondary
#314AC1
accent
#2BE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D75B

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

Preview Lab → · Contrast checker → · Palette generator →

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