#F2D05E#F2D05E

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

Color values

HEX#F2D05E
RGBrgb(242, 208, 94)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 61%, 95%)
CMYKcmyk(0%, 14%, 61.2%, 5.1%)
CIE-LABlab(84.38, -0.92, 59.62)
CIE-LCHlch(84.38, 59.63, 90.89°)
OKLaboklab(86.51% -0.0064 0.1371)
OKLCHoklch(86.51% 0.137 92.7)
XYZxyz(61.1970, 64.8003, 19.8718)
Luminance0.6480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D05E #5E80F2
analogous
#F2865E #F2D05E #CAF25E
triadic
#F2D05E #5EF2D0 #D05EF2
tetradic
#F2D05E #5EF286 #5E80F2 #F25ECA
square
#F2D05E #5EF286 #5E80F2 #F25ECA
split-complementary
#F2D05E #5ECAF2 #865EF2
monochromatic
#C69C10 #EDBF25 #F2D05E #F7E197 #FBF1CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D05E#FFFFFF#000000##000000
##F2D05E1.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)
#E4CD52
Deuteranopia (green-blind)
#EDD763
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d05e;
/* rgb */ color: rgb(242, 208, 94);
/* oklch */ color: oklch(86.5% 0.137 92.7);
Tailwind
colors: {
  custom: {
    50: '#fade90',
    500: '#f2d05e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d05e;
$custom-light: #fade90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d05e",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 46.216,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86512,
    "c": 0.13722,
    "h": 92.7
  },
  "luminance": 0.64797
}

Semantic roles & 50–950 ramp

primary
#F2D05E
secondary
#3153C3
accent
#37E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D05E

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

Preview Lab → · Contrast checker → · Palette generator →

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