#F2D35A#F2D35A

#F2D35A is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.142 H 94.9°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#F2D35A
RGBrgb(242, 211, 90)
HSLhsl(48, 85%, 65%)
HSVhsv(48, 63%, 95%)
CMYKcmyk(0%, 12.8%, 62.8%, 5.1%)
CIE-LABlab(85.10, -2.71, 62.17)
CIE-LCHlch(85.10, 62.23, 92.50°)
OKLaboklab(87.07% -0.0121 0.1419)
OKLCHoklch(87.07% 0.142 94.9)
XYZxyz(61.7605, 66.2071, 19.1970)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D35A #5A79F2
analogous
#F2875A #F2D35A #C5F25A
triadic
#F2D35A #5AF2D3 #D35AF2
tetradic
#F2D35A #5AF287 #5A79F2 #F25AC5
square
#F2D35A #5AF287 #5A79F2 #F25AC5
split-complementary
#F2D35A #5AC5F2 #875AF2
monochromatic
#C29E0F #EEC421 #F2D35A #F6E293 #FBF1CB

Accessibility & contrast

On white

1.47
#F2D35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#F2D35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D35A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D35A#FFFFFF#000000##000000
##F2D35A1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#EFD960
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d35a;
/* rgb */ color: rgb(242, 211, 90);
/* oklch */ color: oklch(87.1% 0.142 94.9);
Tailwind
colors: {
  custom: {
    50: '#fae08d',
    500: '#f2d35a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d35a;
$custom-light: #fae08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d35a",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 90
  },
  "hsl": {
    "h": 47.763,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8707,
    "c": 0.14245,
    "h": 94.9
  },
  "luminance": 0.66204
}

Semantic roles & 50–950 ramp

primary
#F2D35A
secondary
#304EC0
accent
#31E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D35A

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

Preview Lab → · Contrast checker → · Palette generator →

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