#F2D25B#F2D25B

#F2D25B is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.9% C 0.141 H 94.2°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#F2D25B
RGBrgb(242, 210, 91)
HSLhsl(47, 85%, 65%)
HSVhsv(47, 62%, 95%)
CMYKcmyk(0%, 13.2%, 62.4%, 5.1%)
CIE-LABlab(84.86, -2.14, 61.47)
CIE-LCHlch(84.86, 61.51, 91.99°)
OKLaboklab(86.88% -0.0103 0.1406)
OKLCHoklch(86.88% 0.141 94.2)
XYZxyz(61.5557, 65.7289, 19.3401)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D25B #5B7BF2
analogous
#F2875B #F2D25B #C6F25B
triadic
#F2D25B #5BF2D2 #D25BF2
tetradic
#F2D25B #5BF287 #5B7BF2 #F25BC6
square
#F2D25B #5BF287 #5B7BF2 #F25BC6
split-complementary
#F2D25B #5BC6F2 #875BF2
monochromatic
#C39D0F #EEC222 #F2D25B #F6E294 #FBF1CC

Accessibility & contrast

On white

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

On black

14.15
#F2D25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D25B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D25B#FFFFFF#000000##000000
##F2D25B1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4E
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d25b;
/* rgb */ color: rgb(242, 210, 91);
/* oklch */ color: oklch(86.9% 0.141 94.2);
Tailwind
colors: {
  custom: {
    50: '#fadf8e',
    500: '#f2d25b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d25b;
$custom-light: #fadf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d25b",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 91
  },
  "hsl": {
    "h": 47.285,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8688,
    "c": 0.14097,
    "h": 94.2
  },
  "luminance": 0.65726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D25B

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

Preview Lab → · Contrast checker → · Palette generator →

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