#F2E36D#F2E36D

#F2E36D is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.140 H 102.1°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F2E36D
RGBrgb(242, 227, 109)
HSLhsl(53, 84%, 69%)
HSVhsv(53, 55%, 95%)
CMYKcmyk(0%, 6.2%, 55%, 5.1%)
CIE-LABlab(89.36, -9.47, 58.52)
CIE-LCHlch(89.36, 59.28, 99.19°)
OKLaboklab(90.5% -0.0293 0.1365)
OKLCHoklch(90.5% 0.14 102.1)
XYZxyz(66.8496, 74.9220, 25.4051)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E36D #6D7CF2
analogous
#F2A16D #F2E36D #BFF26D
triadic
#F2E36D #6DF2E3 #E36DF2
tetradic
#F2E36D #6DF2A1 #6D7CF2 #F26DBF
square
#F2E36D #6DF2A1 #6D7CF2 #F26DBF
split-complementary
#F2E36D #6DBFF2 #A16DF2
monochromatic
#D2BC13 #EDD835 #F2E36D #F7EEA5 #FCF9DD

Accessibility & contrast

On white

1.31
#F2E36D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F2E36D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E36D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E36D#FFFFFF#000000##000000
##F2E36D1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD61
Deuteranopia (green-blind)
#FAE473
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e36d;
/* rgb */ color: rgb(242, 227, 109);
/* oklch */ color: oklch(90.5% 0.140 102.1);
Tailwind
colors: {
  custom: {
    50: '#f9eb9a',
    500: '#f2e36d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e36d;
$custom-light: #f9eb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e36d",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 109
  },
  "hsl": {
    "h": 53.233,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90499,
    "c": 0.1396,
    "h": 102.1
  },
  "luminance": 0.7492
}

Semantic roles & 50–950 ramp

primary
#F2E36D
secondary
#3849CB
accent
#1EE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E36D

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

Preview Lab → · Contrast checker → · Palette generator →

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