#C7AB43#C7AB43

#C7AB43 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.126 H 94.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#C7AB43
RGBrgb(199, 171, 67)
HSLhsl(47, 54%, 52%)
HSVhsv(47, 66%, 78%)
CMYKcmyk(0%, 14.1%, 66.3%, 22%)
CIE-LABlab(70.65, -1.51, 55.42)
CIE-LCHlch(70.65, 55.45, 91.57°)
OKLaboklab(74.65% -0.0087 0.1254)
OKLCHoklch(74.65% 0.126 94)
XYZxyz(39.1311, 41.6753, 11.2921)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB43 #435FC7
analogous
#C76943 #C7AB43 #A1C743
triadic
#C7AB43 #43C7AB #AB43C7
tetradic
#C7AB43 #43C769 #435FC7 #C743A1
square
#C7AB43 #43C769 #435FC7 #C743A1
split-complementary
#C7AB43 #43A1C7 #6943C7
monochromatic
#6F5E21 #9E862F #C7AB43 #D5C072 #E3D5A1

Accessibility & contrast

On white

2.25
#C7AB43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#C7AB43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AB43
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AB43#FFFFFF#000000##000000
##C7AB431.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA836
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#D69E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab43;
/* rgb */ color: rgb(199, 171, 67);
/* oklch */ color: oklch(74.7% 0.126 94.0);
Tailwind
colors: {
  custom: {
    50: '#dbc37c',
    500: '#c7ab43',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab43;
$custom-light: #dbc37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab43",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 67
  },
  "hsl": {
    "h": 47.273,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7465,
    "c": 0.12572,
    "h": 94
  },
  "luminance": 0.41673
}

Semantic roles & 50–950 ramp

primary
#C7AB43
secondary
#96A2D0
accent
#6ADD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AB43

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

Preview Lab → · Contrast checker → · Palette generator →

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