#C8AD3F#C8AD3F

#C8AD3F is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.1% C 0.130 H 95.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C8AD3F
RGBrgb(200, 173, 63)
HSLhsl(48, 55%, 52%)
HSVhsv(48, 69%, 78%)
CMYKcmyk(0%, 13.5%, 68.5%, 21.6%)
CIE-LABlab(71.23, -2.37, 57.76)
CIE-LCHlch(71.23, 57.81, 92.35°)
OKLaboklab(75.13% -0.0117 0.1297)
OKLCHoklch(75.13% 0.13 95.2)
XYZxyz(39.6621, 42.5275, 10.8212)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AD3F #3F5AC8
analogous
#C8693F #C8AD3F #9FC83F
triadic
#C8AD3F #3FC8AD #AD3FC8
tetradic
#C8AD3F #3FC869 #3F5AC8 #C83F9F
square
#C8AD3F #3FC869 #3F5AC8 #C83F9F
split-complementary
#C8AD3F #3F9FC8 #693FC8
monochromatic
#6D5E1F #9D872D #C8AD3F #D6C16F #E3D69E

Accessibility & contrast

On white

2.21
#C8AD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#C8AD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AD3F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AD3F#FFFFFF#000000##000000
##C8AD3F1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA30
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D8A096
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ad3f;
/* rgb */ color: rgb(200, 173, 63);
/* oklch */ color: oklch(75.1% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#dcc57a',
    500: '#c8ad3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ad3f;
$custom-light: #dcc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ad3f",
  "rgb": {
    "r": 200,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 48.175,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75126,
    "c": 0.13019,
    "h": 95.2
  },
  "luminance": 0.42525
}

Semantic roles & 50–950 ramp

primary
#C8AD3F
secondary
#939FD0
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8AD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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