#CFB75C#CFB75C

#CFB75C is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.115 H 94.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CFB75C
RGBrgb(207, 183, 92)
HSLhsl(47, 55%, 59%)
HSVhsv(47, 56%, 81%)
CMYKcmyk(0%, 11.6%, 55.6%, 18.8%)
CIE-LABlab(74.77, -2.70, 48.76)
CIE-LCHlch(74.77, 48.83, 93.17°)
OKLaboklab(78.16% -0.0096 0.1143)
OKLCHoklch(78.16% 0.115 94.8)
XYZxyz(44.5991, 47.9071, 17.0209)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB75C #5C74CF
analogous
#CF7D5C #CFB75C #ADCF5C
triadic
#CFB75C #5CCFB7 #B75CCF
tetradic
#CFB75C #5CCF7D #5C74CF #CF5CAD
square
#CFB75C #5CCF7D #5C74CF #CF5CAD
split-complementary
#CFB75C #5CADCF #7D5CCF
monochromatic
#887428 #B89D36 #CFB75C #DDCC8B #EBE1BB

Accessibility & contrast

On white

1.98
#CFB75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CFB75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB75C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB75C#FFFFFF#000000##000000
##CFB75C1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B453
Deuteranopia (green-blind)
#CDBB60
Tritanopia (blue-blind)
#DEABA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb75c;
/* rgb */ color: rgb(207, 183, 92);
/* oklch */ color: oklch(78.2% 0.115 94.8);
Tailwind
colors: {
  custom: {
    50: '#e0cc8d',
    500: '#cfb75c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb75c;
$custom-light: #e0cc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb75c",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 92
  },
  "hsl": {
    "h": 47.478,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78159,
    "c": 0.11465,
    "h": 94.8
  },
  "luminance": 0.47905
}

Semantic roles & 50–950 ramp

primary
#CFB75C
secondary
#ADB6DA
accent
#69DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB75C

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

Preview Lab → · Contrast checker → · Palette generator →

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