#C7AB36#C7AB36

#C7AB36 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.135 H 95.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C7AB36
RGBrgb(199, 171, 54)
HSLhsl(48, 57%, 50%)
HSVhsv(48, 73%, 78%)
CMYKcmyk(0%, 14.1%, 72.9%, 22%)
CIE-LABlab(70.55, -2.20, 60.63)
CIE-LCHlch(70.55, 60.67, 92.08°)
OKLaboklab(74.54% -0.0122 0.1342)
OKLCHoklch(74.54% 0.135 95.2)
XYZxyz(38.7840, 41.5364, 9.4638)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB36 #3652C7
analogous
#C76336 #C7AB36 #9AC736
triadic
#C7AB36 #36C7AB #AB36C7
tetradic
#C7AB36 #36C763 #3652C7 #C7369A
square
#C7AB36 #36C763 #3652C7 #C7369A
split-complementary
#C7AB36 #369AC7 #6336C7
monochromatic
#67581C #978229 #C7AB36 #D5C065 #E2D395

Accessibility & contrast

On white

2.26
#C7AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#C7AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AB36
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AB36#FFFFFF#000000##000000
##C7AB361.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA823
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#D79E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab36;
/* rgb */ color: rgb(199, 171, 54);
/* oklch */ color: oklch(74.5% 0.135 95.2);
Tailwind
colors: {
  custom: {
    50: '#dcc375',
    500: '#c7ab36',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab36;
$custom-light: #dcc375;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab36",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 48.414,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74543,
    "c": 0.1347,
    "h": 95.2
  },
  "luminance": 0.41534
}

Semantic roles & 50–950 ramp

primary
#C7AB36
secondary
#8B98CE
accent
#65E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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