#F0CA4B#F0CA4B

#F0CA4B is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 85.0% C 0.147 H 92.1°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#F0CA4B
RGBrgb(240, 202, 75)
HSLhsl(46, 85%, 62%)
HSVhsv(46, 69%, 94%)
CMYKcmyk(0%, 15.8%, 68.7%, 5.9%)
CIE-LABlab(82.53, 0.21, 65.65)
CIE-LCHlch(82.53, 65.65, 89.82°)
OKLaboklab(84.96% -0.0053 0.147)
OKLCHoklch(84.96% 0.147 92.1)
XYZxyz(58.3288, 61.2777, 15.4107)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CA4B #4B71F0
analogous
#F0784B #F0CA4B #C3F04B
triadic
#F0CA4B #4BF0CA #CA4BF0
tetradic
#F0CA4B #4BF078 #4B71F0 #F04BC3
square
#F0CA4B #4BF078 #4B71F0 #F04BC3
split-complementary
#F0CA4B #4BC3F0 #784BF0
monochromatic
#B28C0F #EAB914 #F0CA4B #F5DB83 #F9EBBC

Accessibility & contrast

On white

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

On black

13.25
#F0CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CA4B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CA4B#FFFFFF#000000##000000
##F0CA4B1.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73A
Deuteranopia (green-blind)
#E9D251
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0ca4b;
/* rgb */ color: rgb(240, 202, 75);
/* oklch */ color: oklch(85.0% 0.147 92.1);
Tailwind
colors: {
  custom: {
    50: '#f9d984',
    500: '#f0ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #f0ca4b;
$custom-light: #f9d984;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ca4b",
  "rgb": {
    "r": 240,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 46.182,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84955,
    "c": 0.14714,
    "h": 92.1
  },
  "luminance": 0.61274
}

Semantic roles & 50–950 ramp

primary
#F0CA4B
secondary
#2D4CB2
accent
#37E104
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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