#F2D35F#F2D35F

#F2D35F is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.138 H 94.4°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#F2D35F
RGBrgb(242, 211, 95)
HSLhsl(47, 85%, 66%)
HSVhsv(47, 61%, 95%)
CMYKcmyk(0%, 12.8%, 60.7%, 5.1%)
CIE-LABlab(85.15, -2.39, 60.03)
CIE-LCHlch(85.15, 60.08, 92.28°)
OKLaboklab(87.12% -0.0106 0.1381)
OKLCHoklch(87.12% 0.138 94.4)
XYZxyz(61.9805, 66.2951, 20.3558)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D35F #5F7EF2
analogous
#F2895F #F2D35F #C7F25F
triadic
#F2D35F #5FF2D3 #D35FF2
tetradic
#F2D35F #5FF289 #5F7EF2 #F25FC7
square
#F2D35F #5FF289 #5F7EF2 #F25FC7
split-complementary
#F2D35F #5FC7F2 #895FF2
monochromatic
#C6A010 #EDC326 #F2D35F #F7E398 #FBF2D0

Accessibility & contrast

On white

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

On black

14.26
#F2D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D35F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D35F#FFFFFF#000000##000000
##F2D35F1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF53
Deuteranopia (green-blind)
#EFD964
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d35f;
/* rgb */ color: rgb(242, 211, 95);
/* oklch */ color: oklch(87.1% 0.138 94.4);
Tailwind
colors: {
  custom: {
    50: '#fae090',
    500: '#f2d35f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d35f;
$custom-light: #fae090;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d35f",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 47.347,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8712,
    "c": 0.13847,
    "h": 94.4
  },
  "luminance": 0.66292
}

Semantic roles & 50–950 ramp

primary
#F2D35F
secondary
#3250C4
accent
#33E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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