#F0C255#F0C255

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

Color values

HEX#F0C255
RGBrgb(240, 194, 85)
HSLhsl(42, 84%, 64%)
HSVhsv(42, 65%, 94%)
CMYKcmyk(0%, 19.2%, 64.6%, 5.9%)
CIE-LABlab(80.61, 4.90, 59.41)
CIE-LCHlch(80.61, 59.61, 85.28°)
OKLaboklab(83.47% 0.0094 0.1354)
OKLCHoklch(83.47% 0.136 86)
XYZxyz(56.8697, 57.7683, 16.7476)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C255 #5583F0
analogous
#F07455 #F0C255 #D0F055
triadic
#F0C255 #55F0C2 #C255F0
tetradic
#F0C255 #55F074 #5583F0 #F055D0
square
#F0C255 #55F074 #5583F0 #F055D0
split-complementary
#F0C255 #55D0F0 #7455F0
monochromatic
#BA8810 #EBAE1D #F0C255 #F5D68D #FAEAC5

Accessibility & contrast

On white

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

On black

12.55
#F0C255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C255
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C255#FFFFFF#000000##000000
##F0C2551.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0c255;
/* rgb */ color: rgb(240, 194, 85);
/* oklch */ color: oklch(83.5% 0.136 86.0);
Tailwind
colors: {
  custom: {
    50: '#f9d489',
    500: '#f0c255',
    950: '#000000',
  },
}
SCSS
$custom: #f0c255;
$custom-light: #f9d489;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c255",
  "rgb": {
    "r": 240,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 42.194,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8347,
    "c": 0.13574,
    "h": 86
  },
  "luminance": 0.57765
}

Semantic roles & 50–950 ramp

primary
#F0C255
secondary
#3059B9
accent
#46E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C255

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

Preview Lab → · Contrast checker → · Palette generator →

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