#F0FCA2#F0FCA2

#F0FCA2 is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.2% C 0.113 H 114.8°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#F0FCA2
RGBrgb(240, 252, 162)
HSLhsl(68, 94%, 81%)
HSVhsv(68, 36%, 99%)
CMYKcmyk(4.8%, 0%, 35.7%, 1.2%)
CIE-LABlab(96.31, -17.44, 41.82)
CIE-LCHlch(96.31, 45.31, 112.64°)
OKLaboklab(96.2% -0.0475 0.1029)
OKLCHoklch(96.2% 0.113 114.8)
XYZxyz(77.2675, 90.7555, 47.6225)
Luminance0.9075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FCA2 #AEA2FC
analogous
#FCDBA2 #F0FCA2 #C3FCA2
triadic
#F0FCA2 #A2F0FC #FCA2F0
tetradic
#F0FCA2 #A2FCDB #AEA2FC #FCA2C3
square
#F0FCA2 #A2FCDB #AEA2FC #FCA2C3
split-complementary
#F0FCA2 #A2C3FC #DBA2FC
monochromatic
#DDF82B #E6FA67 #F0FCA2 #FAFEDD #FAFEE1

Accessibility & contrast

On white

1.10
#F0FCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.15
#F0FCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FCA2
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FCA2#FFFFFF#000000##000000
##F0FCA21.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49B
Deuteranopia (green-blind)
#FFF5A6
Tritanopia (blue-blind)
#FAF2E5
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f0fca2;
/* rgb */ color: rgb(240, 252, 162);
/* oklch */ color: oklch(96.2% 0.113 114.8);
Tailwind
colors: {
  custom: {
    50: '#f6fdbe',
    500: '#f0fca2',
    950: '#000000',
  },
}
SCSS
$custom: #f0fca2;
$custom-light: #f6fdbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fca2",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 162
  },
  "hsl": {
    "h": 68,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.96204,
    "c": 0.11334,
    "h": 114.8
  },
  "luminance": 0.90755
}

Semantic roles & 50–950 ramp

primary
#F0FCA2
secondary
#7463DF
accent
#00E61F
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #F0FCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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