#C8A92F#C8A92F

#C8A92F is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.138 H 94.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C8A92F
RGBrgb(200, 169, 47)
HSLhsl(48, 62%, 48%)
HSVhsv(48, 77%, 78%)
CMYKcmyk(0%, 15.5%, 76.5%, 21.6%)
CIE-LABlab(70.08, -1.01, 62.78)
CIE-LCHlch(70.08, 62.79, 90.92°)
OKLaboklab(74.18% -0.0096 0.1373)
OKLCHoklch(74.18% 0.138 94)
XYZxyz(38.5226, 40.8628, 8.5470)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A92F #2F4EC8
analogous
#C85C2F #C8A92F #9AC82F
triadic
#C8A92F #2FC8A9 #A92FC8
tetradic
#C8A92F #2FC85C #2F4EC8 #C82F9A
square
#C8A92F #2FC85C #2F4EC8 #C82F9A
split-complementary
#C8A92F #2F9AC8 #5C2FC8
monochromatic
#655518 #967F23 #C8A92F #D9BF5C #E4D38D

Accessibility & contrast

On white

2.29
#C8A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C8A92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A92F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A92F#FFFFFF#000000##000000
##C8A92F1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA617
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a92f;
/* rgb */ color: rgb(200, 169, 47);
/* oklch */ color: oklch(74.2% 0.138 94.0);
Tailwind
colors: {
  custom: {
    50: '#ddc271',
    500: '#c8a92f',
    950: '#000000',
  },
}
SCSS
$custom: #c8a92f;
$custom-light: #ddc271;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a92f",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 47.843,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.13763,
    "h": 94
  },
  "luminance": 0.40861
}

Semantic roles & 50–950 ramp

primary
#C8A92F
secondary
#8493CF
accent
#64E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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