#F2D26A#F2D26A

#F2D26A is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.0% C 0.128 H 92.5°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#F2D26A
RGBrgb(242, 210, 106)
HSLhsl(46, 84%, 68%)
HSVhsv(46, 56%, 95%)
CMYKcmyk(0%, 13.2%, 56.2%, 5.1%)
CIE-LABlab(85.00, -1.10, 54.87)
CIE-LCHlch(85.00, 54.88, 91.15°)
OKLaboklab(87.04% -0.0056 0.1283)
OKLCHoklch(87.04% 0.128 92.5)
XYZxyz(62.2686, 66.0141, 23.0950)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D26A #6A8AF2
analogous
#F28E6A #F2D26A #CEF26A
triadic
#F2D26A #6AF2D2 #D26AF2
tetradic
#F2D26A #6AF28E #6A8AF2 #F26ACE
square
#F2D26A #6AF28E #6A8AF2 #F26ACE
split-complementary
#F2D26A #6ACEF2 #8E6AF2
monochromatic
#CFA312 #EDC132 #F2D26A #F7E3A2 #FCF4DB

Accessibility & contrast

On white

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

On black

14.20
#F2D26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D26A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D26A#FFFFFF#000000##000000
##F2D26A1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF60
Deuteranopia (green-blind)
#EDD86E
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d26a;
/* rgb */ color: rgb(242, 210, 106);
/* oklch */ color: oklch(87.0% 0.128 92.5);
Tailwind
colors: {
  custom: {
    50: '#f9df97',
    500: '#f2d26a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d26a;
$custom-light: #f9df97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d26a",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 106
  },
  "hsl": {
    "h": 45.882,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87042,
    "c": 0.1284,
    "h": 92.5
  },
  "luminance": 0.66011
}

Semantic roles & 50–950 ramp

primary
#F2D26A
secondary
#3659CB
accent
#39E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D26A

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

Preview Lab → · Contrast checker → · Palette generator →

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