#F2D26E#F2D26E

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

Color values

HEX#F2D26E
RGBrgb(242, 210, 110)
HSLhsl(45, 84%, 69%)
HSVhsv(45, 55%, 95%)
CMYKcmyk(0%, 13.2%, 54.5%, 5.1%)
CIE-LABlab(85.05, -0.80, 53.04)
CIE-LCHlch(85.05, 53.05, 90.86°)
OKLaboklab(87.09% -0.0042 0.1247)
OKLCHoklch(87.09% 0.125 91.9)
XYZxyz(62.4815, 66.0992, 24.2161)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D26E #6E8EF2
analogous
#F2906E #F2D26E #D0F26E
triadic
#F2D26E #6EF2D2 #D26EF2
tetradic
#F2D26E #6EF290 #6E8EF2 #F26ED0
square
#F2D26E #6EF290 #6E8EF2 #F26ED0
split-complementary
#F2D26E #6ED0F2 #906EF2
monochromatic
#D3A413 #EDC136 #F2D26E #F7E3A6 #FCF5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D26E#FFFFFF#000000##000000
##F2D26E1.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)
#E5CF65
Deuteranopia (green-blind)
#EDD872
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d26e;
/* rgb */ color: rgb(242, 210, 110);
/* oklch */ color: oklch(87.1% 0.125 91.9);
Tailwind
colors: {
  custom: {
    50: '#f9df9a',
    500: '#f2d26e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d26e;
$custom-light: #f9df9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d26e",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 110
  },
  "hsl": {
    "h": 45.455,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87091,
    "c": 0.1248,
    "h": 91.9
  },
  "luminance": 0.66096
}

Semantic roles & 50–950 ramp

primary
#F2D26E
secondary
#395CCB
accent
#3AE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D26E

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

Preview Lab → · Contrast checker → · Palette generator →

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