#F2D26B#F2D26B

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

Color values

HEX#F2D26B
RGBrgb(242, 210, 107)
HSLhsl(46, 84%, 68%)
HSVhsv(46, 56%, 95%)
CMYKcmyk(0%, 13.2%, 55.8%, 5.1%)
CIE-LABlab(85.01, -1.03, 54.42)
CIE-LCHlch(85.01, 54.42, 91.08°)
OKLaboklab(87.05% -0.0052 0.1274)
OKLCHoklch(87.05% 0.128 92.4)
XYZxyz(62.3209, 66.0350, 23.3704)
Luminance0.6603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D26B #6B8BF2
analogous
#F28E6B #F2D26B #CEF26B
triadic
#F2D26B #6BF2D2 #D26BF2
tetradic
#F2D26B #6BF28E #6B8BF2 #F26BCE
square
#F2D26B #6BF28E #6B8BF2 #F26BCE
split-complementary
#F2D26B #6BCEF2 #8E6BF2
monochromatic
#D0A312 #EDC133 #F2D26B #F7E3A3 #FCF4DC

Accessibility & contrast

On white

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

On black

14.21
#F2D26B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D26B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D26B#FFFFFF#000000##000000
##F2D26B1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d26b;
/* rgb */ color: rgb(242, 210, 107);
/* oklch */ color: oklch(87.1% 0.128 92.4);
Tailwind
colors: {
  custom: {
    50: '#f9df98',
    500: '#f2d26b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d26b;
$custom-light: #f9df98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d26b",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 107
  },
  "hsl": {
    "h": 45.778,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87054,
    "c": 0.12752,
    "h": 92.4
  },
  "luminance": 0.66032
}

Semantic roles & 50–950 ramp

primary
#F2D26B
secondary
#365ACB
accent
#39E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D26B

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

Preview Lab → · Contrast checker → · Palette generator →

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