#F2D25E#F2D25E

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

Color values

HEX#F2D25E
RGBrgb(242, 210, 94)
HSLhsl(47, 85%, 66%)
HSVhsv(47, 61%, 95%)
CMYKcmyk(0%, 13.2%, 61.2%, 5.1%)
CIE-LABlab(84.88, -1.95, 60.18)
CIE-LCHlch(84.88, 60.21, 91.85°)
OKLaboklab(86.91% -0.0094 0.1383)
OKLCHoklch(86.91% 0.139 93.9)
XYZxyz(61.6877, 65.7817, 20.0354)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D25E #5E7EF2
analogous
#F2885E #F2D25E #C8F25E
triadic
#F2D25E #5EF2D2 #D25EF2
tetradic
#F2D25E #5EF288 #5E7EF2 #F25EC8
square
#F2D25E #5EF288 #5E7EF2 #F25EC8
split-complementary
#F2D25E #5EC8F2 #885EF2
monochromatic
#C69E10 #EDC225 #F2D25E #F7E297 #FBF2CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D25E#FFFFFF#000000##000000
##F2D25E1.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)
#E6CE51
Deuteranopia (green-blind)
#EED863
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d25e;
/* rgb */ color: rgb(242, 210, 94);
/* oklch */ color: oklch(86.9% 0.139 93.9);
Tailwind
colors: {
  custom: {
    50: '#fadf90',
    500: '#f2d25e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d25e;
$custom-light: #fadf90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d25e",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 94
  },
  "hsl": {
    "h": 47.027,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8691,
    "c": 0.13858,
    "h": 93.9
  },
  "luminance": 0.65779
}

Semantic roles & 50–950 ramp

primary
#F2D25E
secondary
#3151C3
accent
#34E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D25E

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

Preview Lab → · Contrast checker → · Palette generator →

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