#F2D26F#F2D26F

#F2D26F is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.124 H 91.8°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#F2D26F
RGBrgb(242, 210, 111)
HSLhsl(45, 83%, 69%)
HSVhsv(45, 54%, 95%)
CMYKcmyk(0%, 13.2%, 54.1%, 5.1%)
CIE-LABlab(85.06, -0.72, 52.58)
CIE-LCHlch(85.06, 52.59, 90.78°)
OKLaboklab(87.1% -0.0039 0.1238)
OKLCHoklch(87.1% 0.124 91.8)
XYZxyz(62.5363, 66.1211, 24.5045)
Luminance0.6612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D26F #6F8FF2
analogous
#F2916F #F2D26F #D0F26F
triadic
#F2D26F #6FF2D2 #D26FF2
tetradic
#F2D26F #6FF291 #6F8FF2 #F26FD0
square
#F2D26F #6FF291 #6F8FF2 #F26FD0
split-complementary
#F2D26F #6FD0F2 #916FF2
monochromatic
#D4A513 #EDC037 #F2D26F #F7E4A7 #FCF5DF

Accessibility & contrast

On white

1.48
#F2D26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#F2D26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D26F
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D26F#FFFFFF#000000##000000
##F2D26F1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF66
Deuteranopia (green-blind)
#EDD873
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d26f;
/* rgb */ color: rgb(242, 210, 111);
/* oklch */ color: oklch(87.1% 0.124 91.8);
Tailwind
colors: {
  custom: {
    50: '#f9df9b',
    500: '#f2d26f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d26f;
$custom-light: #f9df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d26f",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 111
  },
  "hsl": {
    "h": 45.344,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87103,
    "c": 0.12389,
    "h": 91.8
  },
  "luminance": 0.66118
}

Semantic roles & 50–950 ramp

primary
#F2D26F
secondary
#3A5DCB
accent
#3BE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D26F

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

Preview Lab → · Contrast checker → · Palette generator →

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