#F2E67A#F2E67A

#F2E67A is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.130 H 103.0°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F2E67A
RGBrgb(242, 230, 122)
HSLhsl(54, 82%, 71%)
HSVhsv(54, 50%, 95%)
CMYKcmyk(0%, 5%, 49.6%, 5.1%)
CIE-LABlab(90.27, -9.91, 53.59)
CIE-LCHlch(90.27, 54.50, 100.48°)
OKLaboklab(91.27% -0.0292 0.127)
OKLCHoklch(91.27% 0.13 103)
XYZxyz(68.4295, 76.8782, 29.6430)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E67A #7A86F2
analogous
#F2AA7A #F2E67A #C2F27A
triadic
#F2E67A #7AF2E6 #E67AF2
tetradic
#F2E67A #7AF2AA #7A86F2 #F27AC2
square
#F2E67A #7AF2AA #7A86F2 #F27AC2
split-complementary
#F2E67A #7AC2F2 #AA7AF2
monochromatic
#DCC816 #EDDC42 #F2E67A #F7F0B2 #FCFAE3

Accessibility & contrast

On white

1.28
#F2E67A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F2E67A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E67A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E67A#FFFFFF#000000##000000
##F2E67A1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e67a;
/* rgb */ color: rgb(242, 230, 122);
/* oklch */ color: oklch(91.3% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#f8eda3',
    500: '#f2e67a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e67a;
$custom-light: #f8eda3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e67a",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 122
  },
  "hsl": {
    "h": 54,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91265,
    "c": 0.13034,
    "h": 103
  },
  "luminance": 0.76876
}

Semantic roles & 50–950 ramp

primary
#F2E67A
secondary
#4451CD
accent
#1CDF07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E67A

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

Preview Lab → · Contrast checker → · Palette generator →

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