#F2D458#F2D458

#F2D458 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.145 H 95.6°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#F2D458
RGBrgb(242, 212, 88)
HSLhsl(48, 86%, 65%)
HSVhsv(48, 64%, 95%)
CMYKcmyk(0%, 12.4%, 63.6%, 5.1%)
CIE-LABlab(85.34, -3.34, 63.28)
CIE-LCHlch(85.34, 63.37, 93.02°)
OKLaboklab(87.25% -0.0141 0.144)
OKLCHoklch(87.25% 0.145 95.6)
XYZxyz(61.9257, 66.6719, 18.8378)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D458 #5876F2
analogous
#F28758 #F2D458 #C3F258
triadic
#F2D458 #58F2D4 #D458F2
tetradic
#F2D458 #58F287 #5876F2 #F258C3
square
#F2D458 #58F287 #5876F2 #F258C3
split-complementary
#F2D458 #58C3F2 #8758F2
monochromatic
#C19E0F #EEC51F #F2D458 #F6E391 #FBF1CA

Accessibility & contrast

On white

1.47
#F2D458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#F2D458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D458
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D458#FFFFFF#000000##000000
##F2D4581.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D049
Deuteranopia (green-blind)
#F0D95E
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d458;
/* rgb */ color: rgb(242, 212, 88);
/* oklch */ color: oklch(87.3% 0.145 95.6);
Tailwind
colors: {
  custom: {
    50: '#fae08c',
    500: '#f2d458',
    950: '#000000',
  },
}
SCSS
$custom: #f2d458;
$custom-light: #fae08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d458",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 48.312,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87252,
    "c": 0.1447,
    "h": 95.6
  },
  "luminance": 0.66669
}

Semantic roles & 50–950 ramp

primary
#F2D458
secondary
#304CBE
accent
#2FE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D458

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

Preview Lab → · Contrast checker → · Palette generator →

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