#F0CA58#F0CA58

#F0CA58 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 85.1% C 0.138 H 90.7°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#F0CA58
RGBrgb(240, 202, 88)
HSLhsl(45, 84%, 64%)
HSVhsv(45, 63%, 94%)
CMYKcmyk(0%, 15.8%, 63.3%, 5.9%)
CIE-LABlab(82.63, 0.95, 60.29)
CIE-LCHlch(82.63, 60.30, 89.10°)
OKLaboklab(85.07% -0.0016 0.1377)
OKLCHoklch(85.07% 0.138 90.7)
XYZxyz(58.8201, 61.4742, 17.9982)
Luminance0.6147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CA58 #587EF0
analogous
#F07E58 #F0CA58 #CAF058
triadic
#F0CA58 #58F0CA #CA58F0
tetradic
#F0CA58 #58F07E #587EF0 #F058CA
square
#F0CA58 #58F07E #587EF0 #F058CA
split-complementary
#F0CA58 #58CAF0 #7E58F0
monochromatic
#BD9211 #EBB820 #F0CA58 #F5DC90 #FAEEC8

Accessibility & contrast

On white

1.58
#F0CA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#F0CA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CA58
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CA58#FFFFFF#000000##000000
##F0CA581.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC74B
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0ca58;
/* rgb */ color: rgb(240, 202, 88);
/* oklch */ color: oklch(85.1% 0.138 90.7);
Tailwind
colors: {
  custom: {
    50: '#f8d98c',
    500: '#f0ca58',
    950: '#000000',
  },
}
SCSS
$custom: #f0ca58;
$custom-light: #f8d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ca58",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 45,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85072,
    "c": 0.13774,
    "h": 90.7
  },
  "luminance": 0.61471
}

Semantic roles & 50–950 ramp

primary
#F0CA58
secondary
#3154BB
accent
#3CE006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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