#F0CB45#F0CB45

#F0CB45 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.152 H 93.1°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#F0CB45
RGBrgb(240, 203, 69)
HSLhsl(47, 85%, 61%)
HSVhsv(47, 71%, 94%)
CMYKcmyk(0%, 15.4%, 71.3%, 5.9%)
CIE-LABlab(82.74, -0.60, 68.20)
CIE-LCHlch(82.74, 68.21, 90.50°)
OKLaboklab(85.11% -0.0083 0.1514)
OKLCHoklch(85.11% 0.152 93.1)
XYZxyz(58.3684, 61.6702, 14.4582)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB45 #456AF0
analogous
#F07645 #F0CB45 #BFF045
triadic
#F0CB45 #45F0CB #CB45F0
tetradic
#F0CB45 #45F076 #456AF0 #F045BF
square
#F0CB45 #45F076 #456AF0 #F045BF
split-complementary
#F0CB45 #45BFF0 #7645F0
monochromatic
#AD8A0E #E5B812 #F0CB45 #F5DB7E #F9EBB6

Accessibility & contrast

On white

1.57
#F0CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#F0CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB45
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB45#FFFFFF#000000##000000
##F0CB451.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C831
Deuteranopia (green-blind)
#EAD34C
Tritanopia (blue-blind)
#FFBBB0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0cb45;
/* rgb */ color: rgb(240, 203, 69);
/* oklch */ color: oklch(85.1% 0.152 93.1);
Tailwind
colors: {
  custom: {
    50: '#f9da81',
    500: '#f0cb45',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb45;
$custom-light: #f9da81;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb45",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 47.018,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85108,
    "c": 0.15163,
    "h": 93.1
  },
  "luminance": 0.61667
}

Semantic roles & 50–950 ramp

primary
#F0CB45
secondary
#2C48AD
accent
#34E204
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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