#F0D25C#F0D25C

#F0D25C is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.7% C 0.140 H 95.0°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#F0D25C
RGBrgb(240, 210, 92)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 62%, 94%)
CMYKcmyk(0%, 12.5%, 61.7%, 5.9%)
CIE-LABlab(84.69, -2.90, 60.79)
CIE-LCHlch(84.69, 60.86, 92.73°)
OKLaboklab(86.71% -0.0123 0.1394)
OKLCHoklch(86.71% 0.14 95)
XYZxyz(60.9162, 65.3942, 19.5368)
Luminance0.6539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D25C #5C7AF0
analogous
#F0885C #F0D25C #C4F05C
triadic
#F0D25C #5CF0D2 #D25CF0
tetradic
#F0D25C #5CF088 #5C7AF0 #F05CC4
square
#F0D25C #5CF088 #5C7AF0 #F05CC4
split-complementary
#F0D25C #5CC4F0 #885CF0
monochromatic
#C09D12 #EBC324 #F0D25C #F5E194 #FAF1CC

Accessibility & contrast

On white

1.49
#F0D25C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#F0D25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D25C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D25C#FFFFFF#000000##000000
##F0D25C1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4F
Deuteranopia (green-blind)
#EDD762
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d25c;
/* rgb */ color: rgb(240, 210, 92);
/* oklch */ color: oklch(86.7% 0.140 95.0);
Tailwind
colors: {
  custom: {
    50: '#f8df8f',
    500: '#f0d25c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d25c;
$custom-light: #f8df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d25c",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 92
  },
  "hsl": {
    "h": 47.838,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86705,
    "c": 0.13989,
    "h": 95
  },
  "luminance": 0.65391
}

Semantic roles & 50–950 ramp

primary
#F0D25C
secondary
#324FBE
accent
#32E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D25C

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

Preview Lab → · Contrast checker → · Palette generator →

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