#F0F045#F0F045

#F0F045 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.7% C 0.181 H 109.5°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F0F045
RGBrgb(240, 240, 69)
HSLhsl(60, 85%, 61%)
HSVhsv(60, 71%, 94%)
CMYKcmyk(0%, 0%, 71.3%, 5.9%)
CIE-LABlab(92.25, -19.05, 77.44)
CIE-LCHlch(92.25, 79.75, 103.82°)
OKLaboklab(92.67% -0.0604 0.171)
OKLCHoklch(92.67% 0.181 109.5)
XYZxyz(68.1719, 81.2772, 17.7261)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F045 #4545F0
analogous
#F09A45 #F0F045 #9AF045
triadic
#F0F045 #45F0F0 #F045F0
tetradic
#F0F045 #45F09A #4545F0 #F0459A
square
#F0F045 #45F09A #4545F0 #F0459A
split-complementary
#F0F045 #459AF0 #9A45F0
monochromatic
#ADAD0E #E5E512 #F0F045 #F5F57E #F9F9B6

Accessibility & contrast

On white

1.22
#F0F045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F0F045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F045
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F045#FFFFFF#000000##000000
##F0F0451.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE624
Deuteranopia (green-blind)
#FFEB52
Tritanopia (blue-blind)
#FFE1CF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f045;
/* rgb */ color: rgb(240, 240, 69);
/* oklch */ color: oklch(92.7% 0.181 109.5);
Tailwind
colors: {
  custom: {
    50: '#f9f484',
    500: '#f0f045',
    950: '#000000',
  },
}
SCSS
$custom: #f0f045;
$custom-light: #f9f484;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f045",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.92669,
    "c": 0.18132,
    "h": 109.5
  },
  "luminance": 0.81275
}

Semantic roles & 50–950 ramp

primary
#F0F045
secondary
#2C2CAD
accent
#04E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0F045

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

Preview Lab → · Contrast checker → · Palette generator →

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