#F2D367#F2D367

#F2D367 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.132 H 93.5°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#F2D367
RGBrgb(242, 211, 103)
HSLhsl(47, 84%, 68%)
HSVhsv(47, 57%, 95%)
CMYKcmyk(0%, 12.8%, 57.4%, 5.1%)
CIE-LABlab(85.22, -1.84, 56.51)
CIE-LCHlch(85.22, 56.54, 91.86°)
OKLaboklab(87.21% -0.008 0.1315)
OKLCHoklch(87.21% 0.132 93.5)
XYZxyz(62.3630, 66.4481, 22.3702)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D367 #6786F2
analogous
#F28E67 #F2D367 #CBF267
triadic
#F2D367 #67F2D3 #D367F2
tetradic
#F2D367 #67F28E #6786F2 #F267CB
square
#F2D367 #67F28E #6786F2 #F267CB
split-complementary
#F2D367 #67CBF2 #8E67F2
monochromatic
#CDA312 #EDC32F #F2D367 #F7E39F #FCF4D8

Accessibility & contrast

On white

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

On black

14.29
#F2D367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D367
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D367#FFFFFF#000000##000000
##F2D3671.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5C
Deuteranopia (green-blind)
#EED96C
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d367;
/* rgb */ color: rgb(242, 211, 103);
/* oklch */ color: oklch(87.2% 0.132 93.5);
Tailwind
colors: {
  custom: {
    50: '#f9e096',
    500: '#f2d367',
    950: '#000000',
  },
}
SCSS
$custom: #f2d367;
$custom-light: #f9e096;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d367",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 103
  },
  "hsl": {
    "h": 46.619,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87207,
    "c": 0.13174,
    "h": 93.5
  },
  "luminance": 0.66445
}

Semantic roles & 50–950 ramp

primary
#F2D367
secondary
#3455C9
accent
#36E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D367

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

Preview Lab → · Contrast checker → · Palette generator →

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