#C8B25F#C8B25F

#C8B25F is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.107 H 94.8°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C8B25F
RGBrgb(200, 178, 95)
HSLhsl(47, 49%, 58%)
HSVhsv(47, 53%, 78%)
CMYKcmyk(0%, 11%, 52.5%, 21.6%)
CIE-LABlab(72.86, -2.75, 44.88)
CIE-LCHlch(72.86, 44.97, 93.51°)
OKLaboklab(76.51% -0.009 0.1062)
OKLCHoklch(76.51% 0.107 94.8)
XYZxyz(41.8068, 44.9482, 17.2980)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B25F #5F75C8
analogous
#C87E5F #C8B25F #A9C85F
triadic
#C8B25F #5FC8B2 #B25FC8
tetradic
#C8B25F #5FC87E #5F75C8 #C85FA9
square
#C8B25F #5FC87E #5F75C8 #C85FA9
split-complementary
#C8B25F #5FA9C8 #7E5FC8
monochromatic
#806F2C #AE963C #C8B25F #D8C88D #E7DEBA

Accessibility & contrast

On white

2.10
#C8B25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C8B25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B25F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B25F#FFFFFF#000000##000000
##C8B25F1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF58
Deuteranopia (green-blind)
#C7B662
Tritanopia (blue-blind)
#D6A79F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b25f;
/* rgb */ color: rgb(200, 178, 95);
/* oklch */ color: oklch(76.5% 0.107 94.8);
Tailwind
colors: {
  custom: {
    50: '#dbc88e',
    500: '#c8b25f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b25f;
$custom-light: #dbc88e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b25f",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 95
  },
  "hsl": {
    "h": 47.429,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76511,
    "c": 0.10662,
    "h": 94.8
  },
  "luminance": 0.44946
}

Semantic roles & 50–950 ramp

primary
#C8B25F
secondary
#ACB5D6
accent
#6CD84F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B25F

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

Preview Lab → · Contrast checker → · Palette generator →

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