#F2D25A#F2D25A

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

Color values

HEX#F2D25A
RGBrgb(242, 210, 90)
HSLhsl(47, 85%, 65%)
HSVhsv(47, 63%, 95%)
CMYKcmyk(0%, 13.2%, 62.8%, 5.1%)
CIE-LABlab(84.85, -2.20, 61.89)
CIE-LCHlch(84.85, 61.93, 92.04°)
OKLaboklab(86.87% -0.0106 0.1414)
OKLCHoklch(86.87% 0.142 94.3)
XYZxyz(61.5128, 65.7118, 19.1145)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D25A #5A7AF2
analogous
#F2865A #F2D25A #C6F25A
triadic
#F2D25A #5AF2D2 #D25AF2
tetradic
#F2D25A #5AF286 #5A7AF2 #F25AC6
square
#F2D25A #5AF286 #5A7AF2 #F25AC6
split-complementary
#F2D25A #5AC6F2 #865AF2
monochromatic
#C29D0F #EEC321 #F2D25A #F6E193 #FBF1CB

Accessibility & contrast

On white

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

On black

14.14
#F2D25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D25A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D25A#FFFFFF#000000##000000
##F2D25A1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d25a;
/* rgb */ color: rgb(242, 210, 90);
/* oklch */ color: oklch(86.9% 0.142 94.3);
Tailwind
colors: {
  custom: {
    50: '#fadf8d',
    500: '#f2d25a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d25a;
$custom-light: #fadf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d25a",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 90
  },
  "hsl": {
    "h": 47.368,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86871,
    "c": 0.14176,
    "h": 94.3
  },
  "luminance": 0.65709
}

Semantic roles & 50–950 ramp

primary
#F2D25A
secondary
#304FC0
accent
#32E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D25A

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

Preview Lab → · Contrast checker → · Palette generator →

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