#F2E672#F2E672

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

Color values

HEX#F2E672
RGBrgb(242, 230, 114)
HSLhsl(54, 83%, 70%)
HSVhsv(54, 53%, 95%)
CMYKcmyk(0%, 5%, 52.9%, 5.1%)
CIE-LABlab(90.18, -10.57, 57.20)
CIE-LCHlch(90.18, 58.17, 100.47°)
OKLaboklab(91.17% -0.0319 0.1342)
OKLCHoklch(91.17% 0.138 103.4)
XYZxyz(67.9541, 76.6880, 27.1391)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E672 #727EF2
analogous
#F2A672 #F2E672 #BEF272
triadic
#F2E672 #72F2E6 #E672F2
tetradic
#F2E672 #72F2A6 #727EF2 #F272BE
square
#F2E672 #72F2A6 #727EF2 #F272BE
split-complementary
#F2E672 #72BEF2 #A672F2
monochromatic
#D6C414 #EDDC3A #F2E672 #F7F0AA #FCFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E672#FFFFFF#000000##000000
##F2E6721.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)
#F7DF67
Deuteranopia (green-blind)
#FBE678
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e672;
/* rgb */ color: rgb(242, 230, 114);
/* oklch */ color: oklch(91.2% 0.138 103.4);
Tailwind
colors: {
  custom: {
    50: '#f9ed9e',
    500: '#f2e672',
    950: '#000000',
  },
}
SCSS
$custom: #f2e672;
$custom-light: #f9ed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e672",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 54.375,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91167,
    "c": 0.1379,
    "h": 103.4
  },
  "luminance": 0.76686
}

Semantic roles & 50–950 ramp

primary
#F2E672
secondary
#3D4ACC
accent
#1AE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E672

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

Preview Lab → · Contrast checker → · Palette generator →

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