#F2D65F#F2D65F

#F2D65F is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.141 H 96.1°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#F2D65F
RGBrgb(242, 214, 95)
HSLhsl(49, 85%, 66%)
HSVhsv(49, 61%, 95%)
CMYKcmyk(0%, 11.6%, 60.7%, 5.1%)
CIE-LABlab(85.91, -3.92, 60.87)
CIE-LCHlch(85.91, 61.00, 93.68°)
OKLaboklab(87.72% -0.015 0.1399)
OKLCHoklch(87.72% 0.141 96.1)
XYZxyz(62.7328, 67.7996, 20.6065)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D65F #5F7BF2
analogous
#F28C5F #F2D65F #C5F25F
triadic
#F2D65F #5FF2D6 #D65FF2
tetradic
#F2D65F #5FF28C #5F7BF2 #F25FC5
square
#F2D65F #5FF28C #5F7BF2 #F25FC5
split-complementary
#F2D65F #5FC5F2 #8C5FF2
monochromatic
#C6A410 #EDC726 #F2D65F #F7E598 #FBF3D0

Accessibility & contrast

On white

1.44
#F2D65F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#F2D65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D65F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D65F#FFFFFF#000000##000000
##F2D65F1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d65f;
/* rgb */ color: rgb(242, 214, 95);
/* oklch */ color: oklch(87.7% 0.141 96.1);
Tailwind
colors: {
  custom: {
    50: '#fae291',
    500: '#f2d65f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d65f;
$custom-light: #fae291;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d65f",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 95
  },
  "hsl": {
    "h": 48.571,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87721,
    "c": 0.14067,
    "h": 96.1
  },
  "luminance": 0.67797
}

Semantic roles & 50–950 ramp

primary
#F2D65F
secondary
#324DC4
accent
#2EE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D65F

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

Preview Lab → · Contrast checker → · Palette generator →

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