#F2D35C#F2D35C

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

Color values

HEX#F2D35C
RGBrgb(242, 211, 92)
HSLhsl(48, 85%, 65%)
HSVhsv(48, 62%, 95%)
CMYKcmyk(0%, 12.8%, 62%, 5.1%)
CIE-LABlab(85.12, -2.59, 61.32)
CIE-LCHlch(85.12, 61.37, 92.41°)
OKLaboklab(87.09% -0.0115 0.1404)
OKLCHoklch(87.09% 0.141 94.7)
XYZxyz(61.8468, 66.2416, 19.6514)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D35C #5C7BF2
analogous
#F2885C #F2D35C #C6F25C
triadic
#F2D35C #5CF2D3 #D35CF2
tetradic
#F2D35C #5CF288 #5C7BF2 #F25CC6
square
#F2D35C #5CF288 #5C7BF2 #F25CC6
split-complementary
#F2D35C #5CC6F2 #885CF2
monochromatic
#C49F10 #EDC423 #F2D35C #F7E295 #FBF2CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D35C#FFFFFF#000000##000000
##F2D35C1.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)
#E7CF4F
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d35c;
/* rgb */ color: rgb(242, 211, 92);
/* oklch */ color: oklch(87.1% 0.141 94.7);
Tailwind
colors: {
  custom: {
    50: '#fae08f',
    500: '#f2d35c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d35c;
$custom-light: #fae08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d35c",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 92
  },
  "hsl": {
    "h": 47.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8709,
    "c": 0.14089,
    "h": 94.7
  },
  "luminance": 0.66238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D35C

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

Preview Lab → · Contrast checker → · Palette generator →

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