#F2D85A#F2D85A

#F2D85A is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.146 H 97.6°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#F2D85A
RGBrgb(242, 216, 90)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 63%, 95%)
CMYKcmyk(0%, 10.7%, 62.8%, 5.1%)
CIE-LABlab(86.37, -5.25, 63.54)
CIE-LCHlch(86.37, 63.76, 94.72°)
OKLaboklab(88.07% -0.0194 0.1449)
OKLCHoklch(88.07% 0.146 97.6)
XYZxyz(63.0220, 68.7301, 19.6175)
Luminance0.6873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D85A #5A74F2
analogous
#F28C5A #F2D85A #C0F25A
triadic
#F2D85A #5AF2D8 #D85AF2
tetradic
#F2D85A #5AF28C #5A74F2 #F25AC0
square
#F2D85A #5AF28C #5A74F2 #F25AC0
split-complementary
#F2D85A #5AC0F2 #8C5AF2
monochromatic
#C2A40F #EECB21 #F2D85A #F6E593 #FBF3CB

Accessibility & contrast

On white

1.42
#F2D85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#F2D85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D85A
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D85A#FFFFFF#000000##000000
##F2D85A1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34B
Deuteranopia (green-blind)
#F3DC60
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d85a;
/* rgb */ color: rgb(242, 216, 90);
/* oklch */ color: oklch(88.1% 0.146 97.6);
Tailwind
colors: {
  custom: {
    50: '#fae38e',
    500: '#f2d85a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d85a;
$custom-light: #fae38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d85a",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 49.737,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.88074,
    "c": 0.14615,
    "h": 97.6
  },
  "luminance": 0.68727
}

Semantic roles & 50–950 ramp

primary
#F2D85A
secondary
#3049C0
accent
#2AE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D85A

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

Preview Lab → · Contrast checker → · Palette generator →

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