#F2E374#F2E374

#F2E374 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.133 H 101.7°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#F2E374
RGBrgb(242, 227, 116)
HSLhsl(53, 83%, 70%)
HSVhsv(53, 52%, 95%)
CMYKcmyk(0%, 6.2%, 52.1%, 5.1%)
CIE-LABlab(89.43, -8.92, 55.40)
CIE-LCHlch(89.43, 56.11, 99.14°)
OKLaboklab(90.58% -0.027 0.1304)
OKLCHoklch(90.58% 0.133 101.7)
XYZxyz(67.2415, 75.0787, 27.4693)
Luminance0.7508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E374 #7483F2
analogous
#F2A474 #F2E374 #C2F274
triadic
#F2E374 #74F2E3 #E374F2
tetradic
#F2E374 #74F2A4 #7483F2 #F274C2
square
#F2E374 #74F2A4 #7483F2 #F274C2
split-complementary
#F2E374 #74C2F2 #A474F2
monochromatic
#D7C014 #EDD83C #F2E374 #F7EEAC #FCF9E3

Accessibility & contrast

On white

1.31
#F2E374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#F2E374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E374
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E374#FFFFFF#000000##000000
##F2E3741.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e374;
/* rgb */ color: rgb(242, 227, 116);
/* oklch */ color: oklch(90.6% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#f9eb9f',
    500: '#f2e374',
    950: '#000000',
  },
}
SCSS
$custom: #f2e374;
$custom-light: #f9eb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e374",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 116
  },
  "hsl": {
    "h": 52.857,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90581,
    "c": 0.1332,
    "h": 101.7
  },
  "luminance": 0.75076
}

Semantic roles & 50–950 ramp

primary
#F2E374
secondary
#3E4FCC
accent
#20DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E374

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

Preview Lab → · Contrast checker → · Palette generator →

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