#F2E970#F2E970

#F2E970 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.8% C 0.143 H 105.0°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#F2E970
RGBrgb(242, 233, 112)
HSLhsl(56, 83%, 69%)
HSVhsv(56, 54%, 95%)
CMYKcmyk(0%, 3.7%, 53.7%, 5.1%)
CIE-LABlab(90.93, -12.22, 58.98)
CIE-LCHlch(90.93, 60.23, 101.70°)
OKLaboklab(91.76% -0.0369 0.1378)
OKLCHoklch(91.76% 0.143 105)
XYZxyz(68.6835, 78.3271, 26.8267)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E970 #7079F2
analogous
#F2A870 #F2E970 #BAF270
triadic
#F2E970 #70F2E9 #E970F2
tetradic
#F2E970 #70F2A8 #7079F2 #F270BA
square
#F2E970 #70F2A8 #7079F2 #F270BA
split-complementary
#F2E970 #70BAF2 #A870F2
monochromatic
#D4C713 #EDE038 #F2E970 #F7F2A8 #FCFAE0

Accessibility & contrast

On white

1.26
#F2E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#F2E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E970
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E970#FFFFFF#000000##000000
##F2E9701.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE264
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e970;
/* rgb */ color: rgb(242, 233, 112);
/* oklch */ color: oklch(91.8% 0.143 105.0);
Tailwind
colors: {
  custom: {
    50: '#f9ef9c',
    500: '#f2e970',
    950: '#000000',
  },
}
SCSS
$custom: #f2e970;
$custom-light: #f9ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e970",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 55.846,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91758,
    "c": 0.14264,
    "h": 105
  },
  "luminance": 0.78325
}

Semantic roles & 50–950 ramp

primary
#F2E970
secondary
#3B45CB
accent
#15E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E970

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

Preview Lab → · Contrast checker → · Palette generator →

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