#C8AF3B#C8AF3B

#C8AF3B is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.134 H 96.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C8AF3B
RGBrgb(200, 175, 59)
HSLhsl(49, 56%, 51%)
HSVhsv(49, 71%, 78%)
CMYKcmyk(0%, 12.5%, 70.5%, 21.6%)
CIE-LABlab(71.73, -3.63, 59.89)
CIE-LCHlch(71.73, 60.00, 93.47°)
OKLaboklab(75.51% -0.0158 0.1335)
OKLCHoklch(75.51% 0.134 96.7)
XYZxyz(39.9408, 43.2571, 10.3825)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF3B #3B54C8
analogous
#C8683B #C8AF3B #9AC83B
triadic
#C8AF3B #3BC8AF #AF3BC8
tetradic
#C8AF3B #3BC868 #3B54C8 #C83B9A
square
#C8AF3B #3BC868 #3B54C8 #C83B9A
split-complementary
#C8AF3B #3B9AC8 #683BC8
monochromatic
#6B5D1E #9A872B #C8AF3B #D5C36B #E3D69B

Accessibility & contrast

On white

2.18
#C8AF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C8AF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF3B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF3B#FFFFFF#000000##000000
##C8AF3B1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2A
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#D8A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af3b;
/* rgb */ color: rgb(200, 175, 59);
/* oklch */ color: oklch(75.5% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dcc678',
    500: '#c8af3b',
    950: '#000000',
  },
}
SCSS
$custom: #c8af3b;
$custom-light: #dcc678;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af3b",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 49.362,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75509,
    "c": 0.13439,
    "h": 96.7
  },
  "luminance": 0.43255
}

Semantic roles & 50–950 ramp

primary
#C8AF3B
secondary
#909BCF
accent
#63DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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