#F2D67E#F2D67E

#F2D67E is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.112 H 92.3°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F2D67E
RGBrgb(242, 214, 126)
HSLhsl(46, 82%, 72%)
HSVhsv(46, 48%, 95%)
CMYKcmyk(0%, 11.6%, 47.9%, 5.1%)
CIE-LABlab(86.25, -1.48, 46.79)
CIE-LCHlch(86.25, 46.81, 91.82°)
OKLaboklab(88.1% -0.0045 0.1123)
OKLCHoklch(88.1% 0.112 92.3)
XYZxyz(64.4325, 68.4795, 29.5585)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D67E #7E9AF2
analogous
#F29C7E #F2D67E #D4F27E
triadic
#F2D67E #7EF2D6 #D67EF2
tetradic
#F2D67E #7EF29C #7E9AF2 #F27ED4
square
#F2D67E #7EF29C #7E9AF2 #F27ED4
split-complementary
#F2D67E #7ED4F2 #9C7EF2
monochromatic
#DFAF16 #ECC446 #F2D67E #F8E8B6 #FCF6E3

Accessibility & contrast

On white

1.43
#F2D67E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#F2D67E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D67E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D67E#FFFFFF#000000##000000
##F2D67E1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D377
Deuteranopia (green-blind)
#EEDB81
Tritanopia (blue-blind)
#FFC9C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d67e;
/* rgb */ color: rgb(242, 214, 126);
/* oklch */ color: oklch(88.1% 0.112 92.3);
Tailwind
colors: {
  custom: {
    50: '#f8e2a5',
    500: '#f2d67e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d67e;
$custom-light: #f8e2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d67e",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 126
  },
  "hsl": {
    "h": 45.517,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88099,
    "c": 0.11238,
    "h": 92.3
  },
  "luminance": 0.68477
}

Semantic roles & 50–950 ramp

primary
#F2D67E
secondary
#4768CD
accent
#3BDE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D67E

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

Preview Lab → · Contrast checker → · Palette generator →

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