#F2E67E#F2E67E

#F2E67E is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.3% C 0.126 H 102.7°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#F2E67E
RGBrgb(242, 230, 126)
HSLhsl(54, 82%, 72%)
HSVhsv(54, 48%, 95%)
CMYKcmyk(0%, 5%, 47.9%, 5.1%)
CIE-LABlab(90.31, -9.56, 51.76)
CIE-LCHlch(90.31, 52.64, 100.46°)
OKLaboklab(91.32% -0.0278 0.1233)
OKLCHoklch(91.32% 0.126 102.7)
XYZxyz(68.6825, 76.9794, 30.9752)
Luminance0.7698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E67E #7E8AF2
analogous
#F2AC7E #F2E67E #C4F27E
triadic
#F2E67E #7EF2E6 #E67EF2
tetradic
#F2E67E #7EF2AC #7E8AF2 #F27EC4
square
#F2E67E #7EF2AC #7E8AF2 #F27EC4
split-complementary
#F2E67E #7EC4F2 #AC7EF2
monochromatic
#DFCA16 #ECDB46 #F2E67E #F8F1B6 #FCFAE3

Accessibility & contrast

On white

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

On black

16.40
#F2E67E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E67E
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E67E#FFFFFF#000000##000000
##F2E67E1.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E075
Deuteranopia (green-blind)
#FAE683
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e67e;
/* rgb */ color: rgb(242, 230, 126);
/* oklch */ color: oklch(91.3% 0.126 102.7);
Tailwind
colors: {
  custom: {
    50: '#f8eda5',
    500: '#f2e67e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e67e;
$custom-light: #f8eda5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e67e",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 126
  },
  "hsl": {
    "h": 53.793,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91317,
    "c": 0.12642,
    "h": 102.7
  },
  "luminance": 0.76977
}

Semantic roles & 50–950 ramp

primary
#F2E67E
secondary
#4755CD
accent
#1EDE07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F2E67E

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

Preview Lab → · Contrast checker → · Palette generator →

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