#F0C262#F0C262

#F0C262 is a very light, vivid orange. Relative luminance 0.580; OKLCH L 83.6% C 0.125 H 83.8°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#F0C262
RGBrgb(240, 194, 98)
HSLhsl(41, 83%, 66%)
HSVhsv(41, 59%, 94%)
CMYKcmyk(0%, 19.2%, 59.2%, 5.9%)
CIE-LABlab(80.74, 5.75, 53.63)
CIE-LCHlch(80.74, 53.93, 83.88°)
OKLaboklab(83.61% 0.0135 0.1248)
OKLCHoklch(83.61% 0.125 83.8)
XYZxyz(57.4344, 57.9941, 19.7218)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C262 #6290F0
analogous
#F07B62 #F0C262 #D7F062
triadic
#F0C262 #62F0C2 #C262F0
tetradic
#F0C262 #62F07B #6290F0 #F062D7
square
#F0C262 #62F07B #6290F0 #F062D7
split-complementary
#F0C262 #62D7F0 #7B62F0
monochromatic
#C58B13 #EBAC2A #F0C262 #F5D89A #FBEDD2

Accessibility & contrast

On white

1.67
#F0C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#F0C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C262
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C262#FFFFFF#000000##000000
##F0C2621.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#E1CD65
Tritanopia (blue-blind)
#FFB3AC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f0c262;
/* rgb */ color: rgb(240, 194, 98);
/* oklch */ color: oklch(83.6% 0.125 83.8);
Tailwind
colors: {
  custom: {
    50: '#f8d491',
    500: '#f0c262',
    950: '#000000',
  },
}
SCSS
$custom: #f0c262;
$custom-light: #f8d491;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c262",
  "rgb": {
    "r": 240,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 40.563,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83609,
    "c": 0.12548,
    "h": 83.8
  },
  "luminance": 0.57991
}

Semantic roles & 50–950 ramp

primary
#F0C262
secondary
#3462C2
accent
#4DDF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C262

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

Preview Lab → · Contrast checker → · Palette generator →

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