#F2D475#F2D475

#F2D475 is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.6% C 0.120 H 92.3°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#F2D475
RGBrgb(242, 212, 117)
HSLhsl(46, 83%, 70%)
HSVhsv(46, 52%, 95%)
CMYKcmyk(0%, 12.4%, 51.7%, 5.1%)
CIE-LABlab(85.63, -1.25, 50.40)
CIE-LCHlch(85.63, 50.42, 91.42°)
OKLaboklab(87.58% -0.0047 0.1196)
OKLCHoklch(87.58% 0.12 92.3)
XYZxyz(63.3746, 67.2514, 26.4688)
Luminance0.6725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D475 #7593F2
analogous
#F29575 #F2D475 #D1F275
triadic
#F2D475 #75F2D4 #D475F2
tetradic
#F2D475 #75F295 #7593F2 #F275D1
square
#F2D475 #75F295 #7593F2 #F275D1
split-complementary
#F2D475 #75D1F2 #9575F2
monochromatic
#D8A914 #EDC33D #F2D475 #F7E5AD #FCF6E3

Accessibility & contrast

On white

1.45
#F2D475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#F2D475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D475
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D475#FFFFFF#000000##000000
##F2D4751.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16D
Deuteranopia (green-blind)
#EEDA79
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d475;
/* rgb */ color: rgb(242, 212, 117);
/* oklch */ color: oklch(87.6% 0.120 92.3);
Tailwind
colors: {
  custom: {
    50: '#f9e19f',
    500: '#f2d475',
    950: '#000000',
  },
}
SCSS
$custom: #f2d475;
$custom-light: #f9e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d475",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 117
  },
  "hsl": {
    "h": 45.6,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87577,
    "c": 0.11969,
    "h": 92.3
  },
  "luminance": 0.67249
}

Semantic roles & 50–950 ramp

primary
#F2D475
secondary
#3F61CC
accent
#3ADF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D475

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

Preview Lab → · Contrast checker → · Palette generator →

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