#F2D370#F2D370

#F2D370 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.3% C 0.124 H 92.3°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#F2D370
RGBrgb(242, 211, 112)
HSLhsl(46, 83%, 69%)
HSVhsv(46, 54%, 95%)
CMYKcmyk(0%, 12.8%, 53.7%, 5.1%)
CIE-LABlab(85.32, -1.15, 52.42)
CIE-LCHlch(85.32, 52.43, 91.26°)
OKLaboklab(87.31% -0.005 0.1236)
OKLCHoklch(87.31% 0.124 92.3)
XYZxyz(62.8393, 66.6386, 24.8787)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D370 #708FF2
analogous
#F29270 #F2D370 #D0F270
triadic
#F2D370 #70F2D3 #D370F2
tetradic
#F2D370 #70F292 #708FF2 #F270D0
square
#F2D370 #70F292 #708FF2 #F270D0
split-complementary
#F2D370 #70D0F2 #9270F2
monochromatic
#D4A613 #EDC238 #F2D370 #F7E4A8 #FCF6E0

Accessibility & contrast

On white

1.47
#F2D370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#F2D370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D370
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D370#FFFFFF#000000##000000
##F2D3701.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D067
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d370;
/* rgb */ color: rgb(242, 211, 112);
/* oklch */ color: oklch(87.3% 0.124 92.3);
Tailwind
colors: {
  custom: {
    50: '#f9e09b',
    500: '#f2d370',
    950: '#000000',
  },
}
SCSS
$custom: #f2d370;
$custom-light: #f9e09b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d370",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 45.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87314,
    "c": 0.12367,
    "h": 92.3
  },
  "luminance": 0.66636
}

Semantic roles & 50–950 ramp

primary
#F2D370
secondary
#3B5DCB
accent
#3AE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D370

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

Preview Lab → · Contrast checker → · Palette generator →

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