#C7D274#C7D274

#C7D274 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.119 H 114.5°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#C7D274
RGBrgb(199, 210, 116)
HSLhsl(67, 51%, 64%)
HSVhsv(67, 45%, 82%)
CMYKcmyk(5.2%, 0%, 44.8%, 17.6%)
CIE-LABlab(81.56, -17.57, 45.12)
CIE-LCHlch(81.56, 48.42, 111.28°)
OKLaboklab(83.49% -0.0494 0.1084)
OKLCHoklch(83.49% 0.119 114.5)
XYZxyz(49.7528, 59.4969, 25.3827)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D274 #7F74D2
analogous
#D2AE74 #C7D274 #98D274
triadic
#C7D274 #74C7D2 #D274C7
tetradic
#C7D274 #74D2AE #7F74D2 #D27498
square
#C7D274 #74D2AE #7F74D2 #D27498
split-complementary
#C7D274 #7498D2 #AE74D2
monochromatic
#8E9A32 #B4C346 #C7D274 #DAE1A2 #ECF0D0

Accessibility & contrast

On white

1.63
#C7D274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#C7D274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D274
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D274#FFFFFF#000000##000000
##C7D2741.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6C
Deuteranopia (green-blind)
#DDCC79
Tritanopia (blue-blind)
#D1C9BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d274;
/* rgb */ color: rgb(199, 210, 116);
/* oklch */ color: oklch(83.5% 0.119 114.5);
Tailwind
colors: {
  custom: {
    50: '#d9df9e',
    500: '#c7d274',
    950: '#000000',
  },
}
SCSS
$custom: #c7d274;
$custom-light: #d9df9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d274",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 67.021,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83493,
    "c": 0.11914,
    "h": 114.5
  },
  "luminance": 0.59496
}

Semantic roles & 50–950 ramp

primary
#C7D274
secondary
#554B9F
accent
#27BE39
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D274

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

Preview Lab → · Contrast checker → · Palette generator →

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