#F2D765#F2D765

#F2D765 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.136 H 96.1°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#F2D765
RGBrgb(242, 215, 101)
HSLhsl(49, 84%, 67%)
HSVhsv(49, 58%, 95%)
CMYKcmyk(0%, 11.2%, 58.3%, 5.1%)
CIE-LABlab(86.22, -4.02, 58.55)
CIE-LCHlch(86.22, 58.69, 93.92°)
OKLaboklab(87.98% -0.0145 0.1357)
OKLCHoklch(87.98% 0.136 96.1)
XYZxyz(63.2699, 68.4206, 22.1832)
Luminance0.6842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D765 #6580F2
analogous
#F29165 #F2D765 #C6F265
triadic
#F2D765 #65F2D7 #D765F2
tetradic
#F2D765 #65F291 #6580F2 #F265C6
square
#F2D765 #65F291 #6580F2 #F265C6
split-complementary
#F2D765 #65C6F2 #9165F2
monochromatic
#CBA811 #EDC82D #F2D765 #F7E69D #FCF4D6

Accessibility & contrast

On white

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

On black

14.68
#F2D765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D765
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D765#FFFFFF#000000##000000
##F2D7651.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD359
Deuteranopia (green-blind)
#F1DB6A
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d765;
/* rgb */ color: rgb(242, 215, 101);
/* oklch */ color: oklch(88.0% 0.136 96.1);
Tailwind
colors: {
  custom: {
    50: '#f9e394',
    500: '#f2d765',
    950: '#000000',
  },
}
SCSS
$custom: #f2d765;
$custom-light: #f9e394;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d765",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 101
  },
  "hsl": {
    "h": 48.511,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87984,
    "c": 0.13643,
    "h": 96.1
  },
  "luminance": 0.68418
}

Semantic roles & 50–950 ramp

primary
#F2D765
secondary
#3350C8
accent
#2FE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D765

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

Preview Lab → · Contrast checker → · Palette generator →

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