#F2D35D#F2D35D

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

Color values

HEX#F2D35D
RGBrgb(242, 211, 93)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 62%, 95%)
CMYKcmyk(0%, 12.8%, 61.6%, 5.1%)
CIE-LABlab(85.13, -2.52, 60.89)
CIE-LCHlch(85.13, 60.94, 92.37°)
OKLaboklab(87.1% -0.0112 0.1396)
OKLCHoklch(87.1% 0.14 94.6)
XYZxyz(61.8908, 66.2592, 19.8831)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D35D #5D7CF2
analogous
#F2885D #F2D35D #C6F25D
triadic
#F2D35D #5DF2D3 #D35DF2
tetradic
#F2D35D #5DF288 #5D7CF2 #F25DC6
square
#F2D35D #5DF288 #5D7CF2 #F25DC6
split-complementary
#F2D35D #5DC6F2 #885DF2
monochromatic
#C59F10 #EDC424 #F2D35D #F7E296 #FBF2CE

Accessibility & contrast

On white

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

On black

14.25
#F2D35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D35D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D35D#FFFFFF#000000##000000
##F2D35D1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d35d;
/* rgb */ color: rgb(242, 211, 93);
/* oklch */ color: oklch(87.1% 0.140 94.6);
Tailwind
colors: {
  custom: {
    50: '#fae08f',
    500: '#f2d35d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d35d;
$custom-light: #fae08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d35d",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 93
  },
  "hsl": {
    "h": 47.517,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.871,
    "c": 0.14009,
    "h": 94.6
  },
  "luminance": 0.66256
}

Semantic roles & 50–950 ramp

primary
#F2D35D
secondary
#314FC2
accent
#32E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D35D

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

Preview Lab → · Contrast checker → · Palette generator →

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