#F0D762#F0D762

#F0D762 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.8% C 0.139 H 97.3°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#F0D762
RGBrgb(240, 215, 98)
HSLhsl(49, 83%, 66%)
HSVhsv(49, 59%, 94%)
CMYKcmyk(0%, 10.4%, 59.2%, 5.9%)
CIE-LABlab(86.01, -5.04, 59.62)
CIE-LCHlch(86.01, 59.83, 94.84°)
OKLaboklab(87.77% -0.0177 0.1376)
OKLCHoklch(87.77% 0.139 97.3)
XYZxyz(62.4428, 68.0108, 21.3912)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D762 #627BF0
analogous
#F09062 #F0D762 #C2F062
triadic
#F0D762 #62F0D7 #D762F0
tetradic
#F0D762 #62F090 #627BF0 #F062C2
square
#F0D762 #62F090 #627BF0 #F062C2
split-complementary
#F0D762 #62C2F0 #9062F0
monochromatic
#C5A513 #EBC92A #F0D762 #F5E59A #FBF3D2

Accessibility & contrast

On white

1.44
#F0D762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#F0D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D762
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D762#FFFFFF#000000##000000
##F0D7621.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#F1DB68
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d762;
/* rgb */ color: rgb(240, 215, 98);
/* oklch */ color: oklch(87.8% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#f8e393',
    500: '#f0d762',
    950: '#000000',
  },
}
SCSS
$custom: #f0d762;
$custom-light: #f8e393;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d762",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 49.437,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87772,
    "c": 0.13875,
    "h": 97.3
  },
  "luminance": 0.68008
}

Semantic roles & 50–950 ramp

primary
#F0D762
secondary
#344DC2
accent
#2DDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D762

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

Preview Lab → · Contrast checker → · Palette generator →

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