#ECD274#ECD274

#ECD274 is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.6% C 0.118 H 94.3°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#ECD274
RGBrgb(236, 210, 116)
HSLhsl(47, 76%, 69%)
HSVhsv(47, 51%, 93%)
CMYKcmyk(0%, 11%, 50.8%, 7.5%)
CIE-LABlab(84.58, -2.74, 49.50)
CIE-LCHlch(84.58, 49.57, 93.17°)
OKLaboklab(86.62% -0.0088 0.1176)
OKLCHoklch(86.62% 0.118 94.3)
XYZxyz(60.7931, 65.1896, 25.9002)
Luminance0.6519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD274 #748EEC
analogous
#EC9674 #ECD274 #CAEC74
triadic
#ECD274 #74ECD2 #D274EC
tetradic
#ECD274 #74EC96 #748EEC #EC74CA
square
#ECD274 #74EC96 #748EEC #EC74CA
split-complementary
#ECD274 #74CAEC #9674EC
monochromatic
#CAA41C #E5C13E #ECD274 #F3E3AA #FBF5E0

Accessibility & contrast

On white

1.50
#ECD274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#ECD274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD274
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD274#FFFFFF#000000##000000
##ECD2741.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6C
Deuteranopia (green-blind)
#EAD778
Tritanopia (blue-blind)
#FCC5BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd274;
/* rgb */ color: rgb(236, 210, 116);
/* oklch */ color: oklch(86.6% 0.118 94.3);
Tailwind
colors: {
  custom: {
    50: '#f4df9e',
    500: '#ecd274',
    950: '#000000',
  },
}
SCSS
$custom: #ecd274;
$custom-light: #f4df9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd274",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 47,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86619,
    "c": 0.11794,
    "h": 94.3
  },
  "luminance": 0.65187
}

Semantic roles & 50–950 ramp

primary
#ECD274
secondary
#405CC5
accent
#39D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD274

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

Preview Lab → · Contrast checker → · Palette generator →

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