#F2DA5E#F2DA5E

#F2DA5E is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.5% C 0.145 H 98.4°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F2DA5E
RGBrgb(242, 218, 94)
HSLhsl(50, 85%, 66%)
HSVhsv(50, 61%, 95%)
CMYKcmyk(0%, 9.9%, 61.2%, 5.1%)
CIE-LABlab(86.91, -6.01, 62.42)
CIE-LCHlch(86.91, 62.71, 95.50°)
OKLaboklab(88.52% -0.0211 0.143)
OKLCHoklch(88.52% 0.145 98.4)
XYZxyz(63.7124, 69.8310, 20.7103)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA5E #5E76F2
analogous
#F2905E #F2DA5E #C0F25E
triadic
#F2DA5E #5EF2DA #DA5EF2
tetradic
#F2DA5E #5EF290 #5E76F2 #F25EC0
square
#F2DA5E #5EF290 #5E76F2 #F25EC0
split-complementary
#F2DA5E #5EC0F2 #905EF2
monochromatic
#C6A810 #EDCD25 #F2DA5E #F7E797 #FBF4CF

Accessibility & contrast

On white

1.40
#F2DA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#F2DA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA5E
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA5E#FFFFFF#000000##000000
##F2DA5E1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD550
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da5e;
/* rgb */ color: rgb(242, 218, 94);
/* oklch */ color: oklch(88.5% 0.145 98.4);
Tailwind
colors: {
  custom: {
    50: '#fae590',
    500: '#f2da5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2da5e;
$custom-light: #fae590;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da5e",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 94
  },
  "hsl": {
    "h": 50.27,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88516,
    "c": 0.14457,
    "h": 98.4
  },
  "luminance": 0.69828
}

Semantic roles & 50–950 ramp

primary
#F2DA5E
secondary
#3149C3
accent
#28E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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