#F2D05F#F2D05F

#F2D05F is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.136 H 92.6°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#F2D05F
RGBrgb(242, 208, 95)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 61%, 95%)
CMYKcmyk(0%, 14%, 60.7%, 5.1%)
CIE-LABlab(84.39, -0.86, 59.19)
CIE-LCHlch(84.39, 59.20, 90.83°)
OKLaboklab(86.52% -0.0061 0.1363)
OKLCHoklch(86.52% 0.136 92.6)
XYZxyz(61.2422, 64.8184, 20.1097)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D05F #5F81F2
analogous
#F2865F #F2D05F #CBF25F
triadic
#F2D05F #5FF2D0 #D05FF2
tetradic
#F2D05F #5FF286 #5F81F2 #F25FCB
square
#F2D05F #5FF286 #5F81F2 #F25FCB
split-complementary
#F2D05F #5FCBF2 #865FF2
monochromatic
#C69C10 #EDBF26 #F2D05F #F7E198 #FBF1D0

Accessibility & contrast

On white

1.50
#F2D05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#F2D05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D05F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D05F#FFFFFF#000000##000000
##F2D05F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD53
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d05f;
/* rgb */ color: rgb(242, 208, 95);
/* oklch */ color: oklch(86.5% 0.136 92.6);
Tailwind
colors: {
  custom: {
    50: '#fade90',
    500: '#f2d05f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d05f;
$custom-light: #fade90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d05f",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 46.122,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86522,
    "c": 0.13641,
    "h": 92.6
  },
  "luminance": 0.64815
}

Semantic roles & 50–950 ramp

primary
#F2D05F
secondary
#3253C4
accent
#37E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D05F

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

Preview Lab → · Contrast checker → · Palette generator →

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