#F2E673#F2E673

#F2E673 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.137 H 103.3°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#F2E673
RGBrgb(242, 230, 115)
HSLhsl(54, 83%, 70%)
HSVhsv(54, 52%, 95%)
CMYKcmyk(0%, 5%, 52.5%, 5.1%)
CIE-LABlab(90.19, -10.49, 56.75)
CIE-LCHlch(90.19, 57.71, 100.47°)
OKLaboklab(91.18% -0.0316 0.1333)
OKLCHoklch(91.18% 0.137 103.3)
XYZxyz(68.0113, 76.7109, 27.4405)
Luminance0.7671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E673 #737FF2
analogous
#F2A773 #F2E673 #BEF273
triadic
#F2E673 #73F2E6 #E673F2
tetradic
#F2E673 #73F2A7 #737FF2 #F273BE
square
#F2E673 #73F2A7 #737FF2 #F273BE
split-complementary
#F2E673 #73BEF2 #A773F2
monochromatic
#D7C414 #EDDC3B #F2E673 #F7F0AB #FCFAE3

Accessibility & contrast

On white

1.29
#F2E673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#F2E673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E673
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E673#FFFFFF#000000##000000
##F2E6731.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF68
Deuteranopia (green-blind)
#FBE679
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e673;
/* rgb */ color: rgb(242, 230, 115);
/* oklch */ color: oklch(91.2% 0.137 103.3);
Tailwind
colors: {
  custom: {
    50: '#f9ed9e',
    500: '#f2e673',
    950: '#000000',
  },
}
SCSS
$custom: #f2e673;
$custom-light: #f9ed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e673",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 115
  },
  "hsl": {
    "h": 54.331,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.91179,
    "c": 0.13698,
    "h": 103.3
  },
  "luminance": 0.76709
}

Semantic roles & 50–950 ramp

primary
#F2E673
secondary
#3D4BCC
accent
#1BDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E673

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

Preview Lab → · Contrast checker → · Palette generator →

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