#F2D673#F2D673

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

Color values

HEX#F2D673
RGBrgb(242, 214, 115)
HSLhsl(47, 83%, 70%)
HSVhsv(47, 52%, 95%)
CMYKcmyk(0%, 11.6%, 52.5%, 5.1%)
CIE-LABlab(86.11, -2.44, 51.94)
CIE-LCHlch(86.11, 51.99, 92.69°)
OKLaboklab(87.95% -0.0084 0.1228)
OKLCHoklch(87.95% 0.123 93.9)
XYZxyz(63.7614, 68.2110, 26.0238)
Luminance0.6821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D673 #738FF2
analogous
#F29773 #F2D673 #CEF273
triadic
#F2D673 #73F2D6 #D673F2
tetradic
#F2D673 #73F297 #738FF2 #F273CE
square
#F2D673 #73F297 #738FF2 #F273CE
split-complementary
#F2D673 #73CEF2 #9773F2
monochromatic
#D7AC14 #EDC63B #F2D673 #F7E6AB #FCF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D673#FFFFFF#000000##000000
##F2D6731.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)
#E8D26A
Deuteranopia (green-blind)
#EFDB77
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d673;
/* rgb */ color: rgb(242, 214, 115);
/* oklch */ color: oklch(87.9% 0.123 93.9);
Tailwind
colors: {
  custom: {
    50: '#f9e29d',
    500: '#f2d673',
    950: '#000000',
  },
}
SCSS
$custom: #f2d673;
$custom-light: #f9e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d673",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 115
  },
  "hsl": {
    "h": 46.772,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.8795,
    "c": 0.12308,
    "h": 93.9
  },
  "luminance": 0.68208
}

Semantic roles & 50–950 ramp

primary
#F2D673
secondary
#3D5DCC
accent
#36DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D673

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

Preview Lab → · Contrast checker → · Palette generator →

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