#F2E143#F2E143

#F2E143 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.7% C 0.169 H 103.0°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#F2E143
RGBrgb(242, 225, 67)
HSLhsl(54, 87%, 61%)
HSVhsv(54, 72%, 95%)
CMYKcmyk(0%, 7%, 72.3%, 5.1%)
CIE-LABlab(88.51, -10.97, 74.60)
CIE-LCHlch(88.51, 75.40, 98.36°)
OKLaboklab(89.72% -0.038 0.1645)
OKLCHoklch(89.72% 0.169 103)
XYZxyz(64.5591, 73.1357, 16.0251)
Luminance0.7313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E143 #4354F2
analogous
#F28943 #F2E143 #ACF243
triadic
#F2E143 #43F2E1 #E143F2
tetradic
#F2E143 #43F289 #4354F2 #F243AC
square
#F2E143 #43F289 #4354F2 #F243AC
split-complementary
#F2E143 #43ACF2 #8943F2
monochromatic
#AF9F0C #E8D310 #F2E143 #F6EA7C #FAF3B5

Accessibility & contrast

On white

1.34
#F2E143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#F2E143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E143
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E143#FFFFFF#000000##000000
##F2E1431.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA26
Deuteranopia (green-blind)
#FBE24E
Tritanopia (blue-blind)
#FFD1C2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e143;
/* rgb */ color: rgb(242, 225, 67);
/* oklch */ color: oklch(89.7% 0.169 103.0);
Tailwind
colors: {
  custom: {
    50: '#faea82',
    500: '#f2e143',
    950: '#000000',
  },
}
SCSS
$custom: #f2e143;
$custom-light: #faea82;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e143",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 67
  },
  "hsl": {
    "h": 54.171,
    "s": 87.065,
    "l": 60.588
  },
  "oklch": {
    "l": 0.89722,
    "c": 0.16885,
    "h": 103
  },
  "luminance": 0.73133
}

Semantic roles & 50–950 ramp

primary
#F2E143
secondary
#2A37AF
accent
#18E402
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18160B
muted
#86847E

Preview Lab

Preview with #F2E143

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

Preview Lab → · Contrast checker → · Palette generator →

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