#F2D965#F2D965

#F2D965 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.138 H 97.3°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F2D965
RGBrgb(242, 217, 101)
HSLhsl(49, 84%, 67%)
HSVhsv(49, 58%, 95%)
CMYKcmyk(0%, 10.3%, 58.3%, 5.1%)
CIE-LABlab(86.72, -5.03, 59.13)
CIE-LCHlch(86.72, 59.34, 94.86°)
OKLaboklab(88.39% -0.0175 0.1369)
OKLCHoklch(88.39% 0.138 97.3)
XYZxyz(63.7823, 69.4454, 22.3540)
Luminance0.6944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D965 #657EF2
analogous
#F29365 #F2D965 #C4F265
triadic
#F2D965 #65F2D9 #D965F2
tetradic
#F2D965 #65F293 #657EF2 #F265C4
square
#F2D965 #65F293 #657EF2 #F265C4
split-complementary
#F2D965 #65C4F2 #9365F2
monochromatic
#CBAA11 #EDCB2D #F2D965 #F7E79D #FCF5D6

Accessibility & contrast

On white

1.41
#F2D965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#F2D965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D965
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D965#FFFFFF#000000##000000
##F2D9651.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD459
Deuteranopia (green-blind)
#F3DD6A
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d965;
/* rgb */ color: rgb(242, 217, 101);
/* oklch */ color: oklch(88.4% 0.138 97.3);
Tailwind
colors: {
  custom: {
    50: '#f9e495',
    500: '#f2d965',
    950: '#000000',
  },
}
SCSS
$custom: #f2d965;
$custom-light: #f9e495;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d965",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 49.362,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88386,
    "c": 0.13799,
    "h": 97.3
  },
  "luminance": 0.69443
}

Semantic roles & 50–950 ramp

primary
#F2D965
secondary
#334EC8
accent
#2CE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D965

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

Preview Lab → · Contrast checker → · Palette generator →

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