#C8C261#C8C261

#C8C261 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.120 H 105.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C8C261
RGBrgb(200, 194, 97)
HSLhsl(57, 48%, 58%)
HSVhsv(57, 52%, 78%)
CMYKcmyk(0%, 3%, 51.5%, 21.6%)
CIE-LABlab(77.12, -10.89, 48.97)
CIE-LCHlch(77.12, 50.17, 102.54°)
OKLaboklab(79.9% -0.0322 0.1153)
OKLCHoklch(79.9% 0.12 105.6)
XYZxyz(45.2701, 51.7273, 18.9066)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C261 #6167C8
analogous
#C88E61 #C8C261 #9AC861
triadic
#C8C261 #61C8C2 #C261C8
tetradic
#C8C261 #61C88E #6167C8 #C8619A
square
#C8C261 #61C88E #6167C8 #C8619A
split-complementary
#C8C261 #619AC8 #8E61C8
monochromatic
#827D2D #AFA83D #C8C261 #D8D48E #E8E5BC

Accessibility & contrast

On white

1.85
#C8C261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#C8C261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C261
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C261#FFFFFF#000000##000000
##C8C2611.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC58
Deuteranopia (green-blind)
#D3C166
Tritanopia (blue-blind)
#D5B7AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c261;
/* rgb */ color: rgb(200, 194, 97);
/* oklch */ color: oklch(79.9% 0.120 105.6);
Tailwind
colors: {
  custom: {
    50: '#dbd490',
    500: '#c8c261',
    950: '#000000',
  },
}
SCSS
$custom: #c8c261;
$custom-light: #dbd490;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c261",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 56.505,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79896,
    "c": 0.11975,
    "h": 105.6
  },
  "luminance": 0.51726
}

Semantic roles & 50–950 ramp

primary
#C8C261
secondary
#444889
accent
#58D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C261

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

Preview Lab → · Contrast checker → · Palette generator →

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