#F2D361#F2D361

#F2D361 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.137 H 94.2°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#F2D361
RGBrgb(242, 211, 97)
HSLhsl(47, 85%, 66%)
HSVhsv(47, 60%, 95%)
CMYKcmyk(0%, 12.8%, 59.9%, 5.1%)
CIE-LABlab(85.17, -2.26, 59.16)
CIE-LCHlch(85.17, 59.21, 92.18°)
OKLaboklab(87.14% -0.0099 0.1365)
OKLCHoklch(87.14% 0.137 94.2)
XYZxyz(62.0726, 66.3319, 20.8407)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D361 #6180F2
analogous
#F28B61 #F2D361 #C9F261
triadic
#F2D361 #61F2D3 #D361F2
tetradic
#F2D361 #61F28B #6180F2 #F261C9
square
#F2D361 #61F28B #6180F2 #F261C9
split-complementary
#F2D361 #61C9F2 #8B61F2
monochromatic
#C8A110 #EDC328 #F2D361 #F7E39A #FBF2D2

Accessibility & contrast

On white

1.47
#F2D361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#F2D361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D361
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D361#FFFFFF#000000##000000
##F2D3611.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF55
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d361;
/* rgb */ color: rgb(242, 211, 97);
/* oklch */ color: oklch(87.1% 0.137 94.2);
Tailwind
colors: {
  custom: {
    50: '#f9e092',
    500: '#f2d361',
    950: '#000000',
  },
}
SCSS
$custom: #f2d361;
$custom-light: #f9e092;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d361",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 97
  },
  "hsl": {
    "h": 47.172,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87141,
    "c": 0.13683,
    "h": 94.2
  },
  "luminance": 0.66329
}

Semantic roles & 50–950 ramp

primary
#F2D361
secondary
#3252C5
accent
#33E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D361

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

Preview Lab → · Contrast checker → · Palette generator →

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