#F7D262#F7D262

#F7D262 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.4% C 0.136 H 91.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#F7D262
RGBrgb(247, 210, 98)
HSLhsl(45, 90%, 68%)
HSVhsv(45, 60%, 97%)
CMYKcmyk(0%, 15%, 60.3%, 3.1%)
CIE-LABlab(85.38, 0.38, 59.08)
CIE-LCHlch(85.38, 59.08, 89.63°)
OKLaboklab(87.42% -0.0025 0.1363)
OKLCHoklch(87.42% 0.136 91.1)
XYZxyz(63.6119, 66.7526, 21.0868)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D262 #6287F7
analogous
#F78862 #F7D262 #D1F762
triadic
#F7D262 #62F7D2 #D262F7
tetradic
#F7D262 #62F788 #6287F7 #F762D1
square
#F7D262 #62F788 #6287F7 #F762D1
split-complementary
#F7D262 #62D1F7 #8862F7
monochromatic
#D4A20B #F4C128 #F7D262 #FAE39C #FDF3D6

Accessibility & contrast

On white

1.46
#F7D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#F7D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D262
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D262#FFFFFF#000000##000000
##F7D2621.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d262;
/* rgb */ color: rgb(247, 210, 98);
/* oklch */ color: oklch(87.4% 0.136 91.1);
Tailwind
colors: {
  custom: {
    50: '#fddf92',
    500: '#f7d262',
    950: '#000000',
  },
}
SCSS
$custom: #f7d262;
$custom-light: #fddf92;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d262",
  "rgb": {
    "r": 247,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 45.101,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87419,
    "c": 0.13632,
    "h": 91.1
  },
  "luminance": 0.66749
}

Semantic roles & 50–950 ramp

primary
#F7D262
secondary
#2F56CF
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D262

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

Preview Lab → · Contrast checker → · Palette generator →

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