#F2D05B#F2D05B

#F2D05B is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.5% C 0.140 H 93.0°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#F2D05B
RGBrgb(242, 208, 91)
HSLhsl(46, 85%, 65%)
HSVhsv(46, 62%, 95%)
CMYKcmyk(0%, 14%, 62.4%, 5.1%)
CIE-LABlab(84.35, -1.12, 60.92)
CIE-LCHlch(84.35, 60.93, 91.05°)
OKLaboklab(86.48% -0.0074 0.1394)
OKLCHoklch(86.48% 0.14 93)
XYZxyz(61.0650, 64.7475, 19.1766)
Luminance0.6474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D05B #5B7DF2
analogous
#F2845B #F2D05B #C9F25B
triadic
#F2D05B #5BF2D0 #D05BF2
tetradic
#F2D05B #5BF284 #5B7DF2 #F25BC9
square
#F2D05B #5BF284 #5B7DF2 #F25BC9
split-complementary
#F2D05B #5BC9F2 #845BF2
monochromatic
#C39B0F #EEC022 #F2D05B #F6E094 #FBF1CC

Accessibility & contrast

On white

1.51
#F2D05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#F2D05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D05B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D05B#FFFFFF#000000##000000
##F2D05B1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD4E
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2d05b;
/* rgb */ color: rgb(242, 208, 91);
/* oklch */ color: oklch(86.5% 0.140 93.0);
Tailwind
colors: {
  custom: {
    50: '#fade8e',
    500: '#f2d05b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d05b;
$custom-light: #fade8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d05b",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 46.49,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86482,
    "c": 0.13961,
    "h": 93
  },
  "luminance": 0.64744
}

Semantic roles & 50–950 ramp

primary
#F2D05B
secondary
#3151C1
accent
#36E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D05B

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

Preview Lab → · Contrast checker → · Palette generator →

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