#F4D262#F4D262

#F4D262 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.136 H 92.5°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#F4D262
RGBrgb(244, 210, 98)
HSLhsl(46, 87%, 67%)
HSVhsv(46, 60%, 96%)
CMYKcmyk(0%, 13.9%, 59.8%, 4.3%)
CIE-LABlab(85.10, -0.85, 58.70)
CIE-LCHlch(85.10, 58.70, 90.83°)
OKLaboklab(87.14% -0.0059 0.1356)
OKLCHoklch(87.14% 0.136 92.5)
XYZxyz(62.5622, 66.2113, 21.0376)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D262 #6284F4
analogous
#F48962 #F4D262 #CDF462
triadic
#F4D262 #62F4D2 #D262F4
tetradic
#F4D262 #62F489 #6284F4 #F462CD
square
#F4D262 #62F489 #6284F4 #F462CD
split-complementary
#F4D262 #62CDF4 #8962F4
monochromatic
#CDA10E #F0C229 #F4D262 #F8E29B #FCF3D4

Accessibility & contrast

On white

1.47
#F4D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#F4D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D262
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D262#FFFFFF#000000##000000
##F4D2621.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f4d262;
/* rgb */ color: rgb(244, 210, 98);
/* oklch */ color: oklch(87.1% 0.136 92.5);
Tailwind
colors: {
  custom: {
    50: '#fbdf92',
    500: '#f4d262',
    950: '#000000',
  },
}
SCSS
$custom: #f4d262;
$custom-light: #fbdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d262",
  "rgb": {
    "r": 244,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 46.027,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87138,
    "c": 0.13568,
    "h": 92.5
  },
  "luminance": 0.66208
}

Semantic roles & 50–950 ramp

primary
#F4D262
secondary
#3154C9
accent
#37E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4D262

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

Preview Lab → · Contrast checker → · Palette generator →

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