#F2D670#F2D670

#F2D670 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.9% C 0.126 H 94.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#F2D670
RGBrgb(242, 214, 112)
HSLhsl(47, 83%, 69%)
HSVhsv(47, 54%, 95%)
CMYKcmyk(0%, 11.6%, 53.7%, 5.1%)
CIE-LABlab(86.08, -2.68, 53.32)
CIE-LCHlch(86.08, 53.38, 92.88°)
OKLaboklab(87.91% -0.0094 0.1255)
OKLCHoklch(87.91% 0.126 94.3)
XYZxyz(63.5915, 68.1431, 25.1294)
Luminance0.6814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D670 #708CF2
analogous
#F29570 #F2D670 #CDF270
triadic
#F2D670 #70F2D6 #D670F2
tetradic
#F2D670 #70F295 #708CF2 #F270CD
square
#F2D670 #70F295 #708CF2 #F270CD
split-complementary
#F2D670 #70CDF2 #9570F2
monochromatic
#D4AB13 #EDC638 #F2D670 #F7E6A8 #FCF6E0

Accessibility & contrast

On white

1.44
#F2D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#F2D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D670
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D670#FFFFFF#000000##000000
##F2D6701.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#F0DB74
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d670;
/* rgb */ color: rgb(242, 214, 112);
/* oklch */ color: oklch(87.9% 0.126 94.3);
Tailwind
colors: {
  custom: {
    50: '#f9e29b',
    500: '#f2d670',
    950: '#000000',
  },
}
SCSS
$custom: #f2d670;
$custom-light: #f9e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d670",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 47.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87912,
    "c": 0.12587,
    "h": 94.3
  },
  "luminance": 0.6814
}

Semantic roles & 50–950 ramp

primary
#F2D670
secondary
#3B5ACB
accent
#35E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D670

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

Preview Lab → · Contrast checker → · Palette generator →

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