#F2D85C#F2D85C

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

Color values

HEX#F2D85C
RGBrgb(242, 216, 92)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 62%, 95%)
CMYKcmyk(0%, 10.7%, 62%, 5.1%)
CIE-LABlab(86.39, -5.12, 62.70)
CIE-LCHlch(86.39, 62.91, 94.67°)
OKLaboklab(88.09% -0.0188 0.1434)
OKLCHoklch(88.09% 0.145 97.5)
XYZxyz(63.1083, 68.7646, 20.0719)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D85C #5C76F2
analogous
#F28D5C #F2D85C #C1F25C
triadic
#F2D85C #5CF2D8 #D85CF2
tetradic
#F2D85C #5CF28D #5C76F2 #F25CC1
square
#F2D85C #5CF28D #5C76F2 #F25CC1
split-complementary
#F2D85C #5CC1F2 #8D5CF2
monochromatic
#C4A510 #EDCA23 #F2D85C #F7E695 #FBF3CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D85C#FFFFFF#000000##000000
##F2D85C1.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)
#ECD34E
Deuteranopia (green-blind)
#F3DC62
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d85c;
/* rgb */ color: rgb(242, 216, 92);
/* oklch */ color: oklch(88.1% 0.145 97.5);
Tailwind
colors: {
  custom: {
    50: '#fae38f',
    500: '#f2d85c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d85c;
$custom-light: #fae38f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d85c",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 92
  },
  "hsl": {
    "h": 49.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88093,
    "c": 0.14458,
    "h": 97.5
  },
  "luminance": 0.68762
}

Semantic roles & 50–950 ramp

primary
#F2D85C
secondary
#314AC1
accent
#2AE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D85C

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

Preview Lab → · Contrast checker → · Palette generator →

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