#F0D262#F0D262

#F0D262 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.135 H 94.4°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#F0D262
RGBrgb(240, 210, 98)
HSLhsl(47, 83%, 66%)
HSVhsv(47, 59%, 94%)
CMYKcmyk(0%, 12.5%, 59.2%, 5.9%)
CIE-LABlab(84.74, -2.50, 58.19)
CIE-LCHlch(84.74, 58.24, 92.46°)
OKLaboklab(86.77% -0.0104 0.1346)
OKLCHoklch(86.77% 0.135 94.4)
XYZxyz(61.1890, 65.5033, 20.9733)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D262 #6280F0
analogous
#F08B62 #F0D262 #C7F062
triadic
#F0D262 #62F0D2 #D262F0
tetradic
#F0D262 #62F08B #6280F0 #F062C7
square
#F0D262 #62F08B #6280F0 #F062C7
split-complementary
#F0D262 #62C7F0 #8B62F0
monochromatic
#C59F13 #EBC22A #F0D262 #F5E29A #FBF2D2

Accessibility & contrast

On white

1.49
#F0D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#F0D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D262
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D262#FFFFFF#000000##000000
##F0D2621.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#EDD867
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d262;
/* rgb */ color: rgb(240, 210, 98);
/* oklch */ color: oklch(86.8% 0.135 94.4);
Tailwind
colors: {
  custom: {
    50: '#f8df92',
    500: '#f0d262',
    950: '#000000',
  },
}
SCSS
$custom: #f0d262;
$custom-light: #f8df92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d262",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 47.324,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86768,
    "c": 0.13496,
    "h": 94.4
  },
  "luminance": 0.655
}

Semantic roles & 50–950 ramp

primary
#F0D262
secondary
#3452C2
accent
#34DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D262

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

Preview Lab → · Contrast checker → · Palette generator →

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