#F2D25F#F2D25F

#F2D25F is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.138 H 93.8°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#F2D25F
RGBrgb(242, 210, 95)
HSLhsl(47, 85%, 66%)
HSVhsv(47, 61%, 95%)
CMYKcmyk(0%, 13.2%, 60.7%, 5.1%)
CIE-LABlab(84.89, -1.88, 59.75)
CIE-LCHlch(84.89, 59.78, 91.80°)
OKLaboklab(86.92% -0.0091 0.1375)
OKLCHoklch(86.92% 0.138 93.8)
XYZxyz(61.7329, 65.7998, 20.2732)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D25F #5F7FF2
analogous
#F2885F #F2D25F #C8F25F
triadic
#F2D25F #5FF2D2 #D25FF2
tetradic
#F2D25F #5FF288 #5F7FF2 #F25FC8
square
#F2D25F #5FF288 #5F7FF2 #F25FC8
split-complementary
#F2D25F #5FC8F2 #885FF2
monochromatic
#C69F10 #EDC226 #F2D25F #F7E298 #FBF2D0

Accessibility & contrast

On white

1.48
#F2D25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#F2D25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D25F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D25F#FFFFFF#000000##000000
##F2D25F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE53
Deuteranopia (green-blind)
#EED864
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d25f;
/* rgb */ color: rgb(242, 210, 95);
/* oklch */ color: oklch(86.9% 0.138 93.8);
Tailwind
colors: {
  custom: {
    50: '#fadf90',
    500: '#f2d25f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d25f;
$custom-light: #fadf90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d25f",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 46.939,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86921,
    "c": 0.13777,
    "h": 93.8
  },
  "luminance": 0.65797
}

Semantic roles & 50–950 ramp

primary
#F2D25F
secondary
#3251C4
accent
#34E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D25F

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

Preview Lab → · Contrast checker → · Palette generator →

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