#F2D372#F2D372

#F2D372 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.122 H 92.0°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F2D372
RGBrgb(242, 211, 114)
HSLhsl(45, 83%, 70%)
HSVhsv(45, 53%, 95%)
CMYKcmyk(0%, 12.8%, 52.9%, 5.1%)
CIE-LABlab(85.34, -0.99, 51.50)
CIE-LCHlch(85.34, 51.51, 91.10°)
OKLaboklab(87.34% -0.0043 0.1217)
OKLCHoklch(87.34% 0.122 92)
XYZxyz(62.9519, 66.6836, 25.4716)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D372 #7291F2
analogous
#F29372 #F2D372 #D1F272
triadic
#F2D372 #72F2D3 #D372F2
tetradic
#F2D372 #72F293 #7291F2 #F272D1
square
#F2D372 #72F293 #7291F2 #F272D1
split-complementary
#F2D372 #72D1F2 #9372F2
monochromatic
#D6A714 #EDC23A #F2D372 #F7E4AA #FCF6E2

Accessibility & contrast

On white

1.46
#F2D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#F2D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D372
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D372#FFFFFF#000000##000000
##F2D3721.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D069
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d372;
/* rgb */ color: rgb(242, 211, 114);
/* oklch */ color: oklch(87.3% 0.122 92.0);
Tailwind
colors: {
  custom: {
    50: '#f9e09d',
    500: '#f2d372',
    950: '#000000',
  },
}
SCSS
$custom: #f2d372;
$custom-light: #f9e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d372",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 45.469,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8734,
    "c": 0.12182,
    "h": 92
  },
  "luminance": 0.66681
}

Semantic roles & 50–950 ramp

primary
#F2D372
secondary
#3D5FCC
accent
#3BE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D372

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

Preview Lab → · Contrast checker → · Palette generator →

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