#F0C257#F0C257

#F0C257 is a very light, vivid orange. Relative luminance 0.578; OKLCH L 83.5% C 0.134 H 85.7°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#F0C257
RGBrgb(240, 194, 87)
HSLhsl(42, 84%, 64%)
HSVhsv(42, 64%, 94%)
CMYKcmyk(0%, 19.2%, 63.7%, 5.9%)
CIE-LABlab(80.63, 5.03, 58.54)
CIE-LCHlch(80.63, 58.76, 85.09°)
OKLaboklab(83.49% 0.0101 0.1339)
OKLCHoklch(83.49% 0.134 85.7)
XYZxyz(56.9503, 57.8005, 17.1720)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C257 #5785F0
analogous
#F07657 #F0C257 #D2F057
triadic
#F0C257 #57F0C2 #C257F0
tetradic
#F0C257 #57F076 #5785F0 #F057D2
square
#F0C257 #57F076 #5785F0 #F057D2
split-complementary
#F0C257 #57D2F0 #7657F0
monochromatic
#BC8811 #EBAE1F #F0C257 #F5D68F #FAEBC7

Accessibility & contrast

On white

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

On black

12.56
#F0C257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C257
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C257#FFFFFF#000000##000000
##F0C2571.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#FFB2AB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f0c257;
/* rgb */ color: rgb(240, 194, 87);
/* oklch */ color: oklch(83.5% 0.134 85.7);
Tailwind
colors: {
  custom: {
    50: '#f9d48a',
    500: '#f0c257',
    950: '#000000',
  },
}
SCSS
$custom: #f0c257;
$custom-light: #f9d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c257",
  "rgb": {
    "r": 240,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 41.961,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8349,
    "c": 0.13424,
    "h": 85.7
  },
  "luminance": 0.57797
}

Semantic roles & 50–950 ramp

primary
#F0C257
secondary
#315ABA
accent
#47E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C257

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

Preview Lab → · Contrast checker → · Palette generator →

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