#F2D672#F2D672

#F2D672 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.124 H 94.0°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#F2D672
RGBrgb(242, 214, 114)
HSLhsl(47, 83%, 70%)
HSVhsv(47, 53%, 95%)
CMYKcmyk(0%, 11.6%, 52.9%, 5.1%)
CIE-LABlab(86.10, -2.52, 52.40)
CIE-LCHlch(86.10, 52.46, 92.75°)
OKLaboklab(87.94% -0.0088 0.1237)
OKLCHoklch(87.94% 0.124 94)
XYZxyz(63.7041, 68.1881, 25.7224)
Luminance0.6818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D672 #728EF2
analogous
#F29672 #F2D672 #CEF272
triadic
#F2D672 #72F2D6 #D672F2
tetradic
#F2D672 #72F296 #728EF2 #F272CE
square
#F2D672 #72F296 #728EF2 #F272CE
split-complementary
#F2D672 #72CEF2 #9672F2
monochromatic
#D6AB14 #EDC63A #F2D672 #F7E6AA #FCF7E2

Accessibility & contrast

On white

1.43
#F2D672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#F2D672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D672
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D672#FFFFFF#000000##000000
##F2D6721.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D269
Deuteranopia (green-blind)
#EFDB76
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d672;
/* rgb */ color: rgb(242, 214, 114);
/* oklch */ color: oklch(87.9% 0.124 94.0);
Tailwind
colors: {
  custom: {
    50: '#f9e29d',
    500: '#f2d672',
    950: '#000000',
  },
}
SCSS
$custom: #f2d672;
$custom-light: #f9e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d672",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 46.875,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87937,
    "c": 0.12402,
    "h": 94
  },
  "luminance": 0.68185
}

Semantic roles & 50–950 ramp

primary
#F2D672
secondary
#3D5CCC
accent
#36E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D672

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

Preview Lab → · Contrast checker → · Palette generator →

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